1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

one more range literal expansion test

This commit is contained in:
Jeremy Ashkenas 2010-07-27 23:02:26 -04:00
parent a59df2cf74
commit fa4871574a

View file

@ -30,6 +30,9 @@ ok nums.join(' ') is '1 0 -1 -2 -3 -4 -5'
array = [(1+5)..1+9]
ok array.join(' ') is "6 7 8 9 10"
array = [5..1]
ok array.join(' ') is '5 4 3 2 1'
# String slicing (at least on Node).
hello = "Hello World"