summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrow-functions/strict-3.js
blob: 24150cfd77fb911c12cb3eb2086b88becfc2eaab (plain)
1
2
3
4
// "use strict" is not special as the body of an arrow function without braces.

var f = (a = obj => { with (obj) return x; }) => "use strict";
assertEq(f(), "use strict");