String Interpolation
Problem
You want to create a string that contains a text representation of a CoffeeScript Variable.
Solution
Use CoffeeScript’s ruby-like string interpolation instead of JavaScript’s string addition. You must use Double-quoted strings to allow for interpolation. Single-quoted strings are treated as literals.
Interpolation:
Discussion
CoffeeScript interpolates strings in similar fashion to ruby. Most
expressions are valid inside the #{...}
interpolation syntax.
CoffeeScript permits multiple expressions inside the interpolation which can have side effects, but this is discouraged. Only the last value will be returned.