mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
4 lines
111 B
CoffeeScript
4 lines
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') |