Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Here-document/CoffeeScript/here-document.coffee
Normal file
11
Task/Here-document/CoffeeScript/here-document.coffee
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
myDoc = '''
|
||||
Single-quoted heredocs allows no '#{foo}' interpolation.
|
||||
This behavior is similar to single-quoted strings.
|
||||
'''
|
||||
doc2 = """
|
||||
However, double-quoted heredocs *do* allow these.
|
||||
See it in action:
|
||||
Content: "#{myDoc}"
|
||||
"""
|
||||
|
||||
console.log doc2
|
||||
Loading…
Add table
Add a link
Reference in a new issue