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:
parent
a59df2cf74
commit
fa4871574a
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue