mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
4 lines
No EOL
111 B
CoffeeScript
4 lines
No EOL
111 B
CoffeeScript
nums: n * n for n in [1, 2, 3] if n % 2 isnt 0.
|
|
result: n * 2 for n in nums.
|
|
|
|
print(result.join(',') is '2,18') |