js/src/jit-test/tests/arrow-functions/strict-3.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:0c5cbcbebcbf
1 // "use strict" is not special as the body of an arrow function without braces.
2
3 var f = (a = obj => { with (obj) return x; }) => "use strict";
4 assertEq(f(), "use strict");

mercurial