summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/bug1227287.js
blob: d0c6b882625e30b14372e61213e1c0daa8ac920e (plain)
1
2
3
4
5
6
7
8
// Note: Ion/Warp have known issues with function.arguments. See bug 1626294.

function f(y) {
    y = 1;
    assertEq(arguments.callee.arguments[0], 1);
    return () => y;
}
f(0);