Skip to content

Commit 2609e62

Browse files
author
drizzle9
committed
[test] add a corner case to func.ts
1 parent f0d0bf6 commit 2609e62

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/3.func.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,9 @@ var x5 = setInterval(Math.max, 2000, "Bob", "Hi");
108108
// a = FF(a, 0x1);
109109
// a = FF(0x2, a);
110110
// }
111+
// }
112+
113+
// #3. COPYRESTARGS
114+
// function myFun(a, b, ...args) {
115+
// console.log(args);
111116
// }

tests/8.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
// //c: number = B["b"];
199199
// }
200200

201-
// 37. COPYRESTARGS SUPERCALLSPREAD
201+
// 37. SUPERCALLSPREAD
202202
// class A {}
203203
// class B extends A {
204204
// constructor(...args) {

0 commit comments

Comments
 (0)