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/associativity-1.js
js/src/jit-test/tests/arrow-functions/associativity-1.js
changeset 0
6474c204b198
equal
deleted
inserted
replaced
-1:000000000000
0:1cead7281a99
1
// Arrow right-associativity.
2
3
var t = a => b => a;
4
assertEq(t('A')('B'), 'A');
5
6
var curry = f => a => b => f(a, b);
7
var curried_atan2 = curry(Math.atan2);
8
assertEq(curried_atan2(0)(1), 0);