summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug589318.js
blob: 98902b0b96266d995a69f65b524b2e320487df01 (plain)
1
2
3
4
5
6
7
8
9
10
// Use arguments in an eval.
code = " \
function f(a) { var x = a; } \
for (var i = 0; i < 10; i++) { f(5); } \
";

eval(code);


// Test it doesn't assert.