jashkenas--coffeescript/test/fixtures/execution/test_range_comprehension.co...

5 lines
81 B
CoffeeScript
Raw Normal View History

2009-12-26 03:16:40 -05:00
nums: i * 3 for i in [1..3].
result: nums.join(', ')
print(result is '3, 6, 9')