mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 03:21:20 -05:00
while loops can now be used as expressions -- they return an array containing the computed result of each iteration.
This commit is contained in:
@@ -26,4 +26,4 @@ func: =>
|
||||
|
||||
c.single: c.list[1..1][0]
|
||||
|
||||
print(func() == '-')
|
||||
print(func() is '-')
|
||||
|
||||
Reference in New Issue
Block a user