summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/bug1696181.js
blob: 816a8c00e3c3747be2ba5e2f3fcd6e569c4de46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function b() {}
function c() {}

function foo() {
    for (f of [b,c]) {
	(function () {
	    f.apply({}, arguments);
	})(1,2,3,4)
    }
}

with({}) {}
for (var i = 0; i < 100; i++) {
    foo();
}