summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrow-functions/associativity-2.js
blob: 45712965f02cb54761aba71bb9b735639ab81b34 (plain)
1
2
3
4
5
6
7
8
// Arrow right-associativity with =

var a, b, c;
a = b = c => a = b = c;
assertEq(a, b);
a(13);
assertEq(b, 13);
assertEq(a, 13);