Skip to content

Commit 4b6babb

Browse files
committed
add tests
1 parent 39fe09d commit 4b6babb

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

spec/array_spread1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const arr1 = [1, 2];
2+
export const array = [100, 200, ...arr1];

spec/array_spread3.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const arr1 = [1, 2];
2+
const arr2 = [3, 4];
3+
const arr3 = [5, 6];
4+
export const array = [...arr1, ...arr2, ...arr3];

0 commit comments

Comments
 (0)