Skip to content

Commit a5e0fb6

Browse files
committed
Merge pull request coffeescript-cookbook#99 from ayush/master
updated string interpolation to mention that it works only with double quoted strings
2 parents 658abba + 3ff4351 commit a5e0fb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chapters/strings/interpolation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ CoffeeScript Variable.
1111
## Solution
1212

1313
Use CoffeeScript's ruby-like string interpolation instead of
14-
JavaScript's string addition.
14+
JavaScript's string addition. You must use Double-quoted strings to
15+
allow for interpolation. Single-quoted strings are treated as literals.
1516

1617
Interpolation:
1718

0 commit comments

Comments
 (0)