mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 10:34:55 -05:00
adding back parentheses wrapper around interpolated expressions -- we need it
This commit is contained in:
@@ -8,6 +8,7 @@ ok "[$hello$world]" is '[HelloWorld]'
|
||||
ok "[${hello}${world}]" is '[HelloWorld]'
|
||||
ok "$hello$$world" is 'Hello$World'
|
||||
ok "${hello}$${world}" is 'Hello$World'
|
||||
ok "Hello ${ 1 + 2 } World" is 'Hello 3 World'
|
||||
|
||||
[s, t, r, i, n, g]: ['s', 't', 'r', 'i', 'n', 'g']
|
||||
ok "$s$t$r$i$n$g" is 'string'
|
||||
|
||||
Reference in New Issue
Block a user