added yes, no, on and off as boolean aliases and a nice aliases section to the docs

This commit is contained in:
Jeremy Ashkenas
2009-12-23 20:24:55 -05:00
parent a4d014549b
commit 64879cdc66
10 changed files with 95 additions and 63 deletions

View File

@@ -1,3 +1,4 @@
js: => `alert("Hello JavaScript");`.
hi: `function() {
return [document.title, "Hello JavaScript"].join(": ");
}`
js() if 10 > 9