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