summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/bug1825907.js
blob: 5e9be25d2faa54ae4de4d3323f7bd3290b325c75 (plain)
1
2
3
4
5
6
7
function f(arg) {
    eval(`var y = 1; function f() {return y}; f();`);
    delete y;
    arguments[0] = 5;
    assertEq(arg, 5);
}
f(0);