]> code.delx.au - gnu-emacs-elpa/blob - packages/coffee-mode/examples/edge.coffee
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / coffee-mode / examples / edge.coffee
1 # Edge cases
2
3 if string.match /\// or string.match /\x1b/ or string.match /a\/b/
4 console.log "matched"
5
6 string = "Something with a \"double quote"
7 console.log string
8
9 string = 'Something with a \'single quote'
10 console.log string
11
12 # TODO
13 heredoc = """
14 Heredoc with a " double quote
15 """
16 console.log heredoc