demo/kitchen-sink/docs/coffee.coffee
raw| 1 | #!/usr/bin/env coffee |
| 2 | |
| 3 | try |
| 4 | throw URIError decodeURI(0xC0ffee * 123456.7e-8 / .9) |
| 5 | catch e |
| 6 | console.log 'qstring' + "qqstring" + ''' |
| 7 | qdoc |
| 8 | ''' + """ |
| 9 | qqdoc |
| 10 | """ |
| 11 | |
| 12 | do -> |
| 13 | ### |
| 14 | herecomment |
| 15 | ### |
| 16 | re = /regex/imgy.test /// |
| 17 | heregex # comment |
| 18 | ///imgy |
| 19 | this isnt: `just JavaScript` |
| 20 | undefined |
| 21 | |
| 22 | sentence = "#{ 22 / 7 } is a decent approximation of π" |