summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-hosting/invoke-self-hosted-function.js
blob: 88893c58bd911e762392d7b4b72516d74cc68429 (plain)
1
2
3
4
5
6
7
8
9
var callees = [function a() {}, function b() {}, function c() {}, function d() {}, Array.prototype.forEach];

function f() {
    for (var i = 0; i < callees.length; ++i) {
    	callees[i](function(){});
    }
}

f();