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-1.js
js/src/jit-test/tests/arrow-functions/params-1.js
changeset 0
6474c204b198
equal
deleted
inserted
replaced
-1:000000000000
0:195585f68119
1
// arrow functions may have empty arguments
2
3
var f = () => 'x';
4
assertEq(f.length, 0);
5
assertEq(f(), 'x');
6
assertEq(f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9), 'x');