summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1264954.js
blob: e9d642279831f413f5e59b9312a63084532b4a35 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)
function f(x) {
    oomTest(() => eval(x));
}
f("");
f("");
f(`eval([   "x = \`\${new Error.lineNumber}" ].join())`);