summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrow-functions/precedence-2.js
blob: 479cb20a452a1212caa2934e8cabc8dc43ca0c77 (plain)
1
2
3
4
5
6
// => binds tighter than ,

var f, g;
g = (f, h => h + 1);  // sequence expression: (f, (h => h + 1))
assertEq(g.length, 1);
assertEq(g(37), 38);