diff options
Diffstat (limited to 'js/src/jit-test/tests/arrow-functions/associativity-3.js')
-rw-r--r-- | js/src/jit-test/tests/arrow-functions/associativity-3.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/arrow-functions/associativity-3.js b/js/src/jit-test/tests/arrow-functions/associativity-3.js new file mode 100644 index 000000000..2be671c5b --- /dev/null +++ b/js/src/jit-test/tests/arrow-functions/associativity-3.js @@ -0,0 +1,5 @@ +// Arrow right-associativity with += + +var s = ""; +s += x => x.name; +assertEq(s, "x => x.name"); |