comparison: js/src/jit-test/tests/arguments/rest-nested-arguments.js
js/src/jit-test/tests/arguments/rest-nested-arguments.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 function f(...rest) { |
|
2 function nested() { |
|
3 return arguments.length; |
|
4 } |
|
5 return nested; |
|
6 } |
|
7 assertEq(f()(1, 2, 3), 3); |