summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testLetOverridingArgs.js
blob: fbebe7a2fc29bac3351ddde2369dda3e9945ab1e (plain)
1
2
3
4
5
function f1() { { let arguments = 42; return arguments } }
assertEq(f1(), 42);

function f2() { { let arguments; return arguments } }
assertEq(f2(), undefined);