mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
parent
ae72dbb379
commit
ce84924101
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ Expressions
|
|||
as an expression, returning an array containing the result of each iteration
|
||||
through the loop.
|
||||
</p>
|
||||
<%= codeFor('while', 'lyrics.join("\n")') %>
|
||||
<%= codeFor('while', 'lyrics.join("\\n")') %>
|
||||
<p>
|
||||
For readability, the <b>until</b> keyword is equivalent to <code>while not</code>,
|
||||
and the <b>loop</b> keyword is equivalent to <code>while true</code>.
|
||||
|
|
Loading…
Reference in a new issue