1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// 'arguments' in eval function f() { var g = s => eval(s); assertEq(g("arguments"), arguments); } f(); f(0, 1, 2); function h() { return s => eval(s); } var result = h(1, 2, 3, 4)("arguments"); assertEq(result.length, 4); assertEq(result[3], 4);