coffeescript-repl
coffeescript-repl copied to clipboard
Array comprehensions should give an array value (even when unassigned)
coffee> (food for food in ['toast', 'cheese', 'wine'])
'wine'
coffee> result = (food for food in ['toast', 'cheese', 'wine'])
[ 'toast', 'cheese', 'wine' ]
I thought these would give the same result.