The Tor Browser
/ file comparison
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
revisions
annotate
diff
comparison
raw
comparison: js/src/jit-test/tests/arrow-functions/params-rest-1.js
js/src/jit-test/tests/arrow-functions/params-rest-1.js
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal
deleted
inserted
replaced
-1:000000000000
0:e30a770974f0
1
// Rest parameters are allowed in arrow functions.
2
3
var A = (...x) => x;
4
assertEq(A().toSource(), "[]");
5
assertEq("" + A(3, 4, 5), "3,4,5");