Sha256: 0a0087b6e8cd10bcb86f1261c960dbe8705ccc6e5a9b7a92ed6c4777759a7244

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

function testCALLELEM()
{
    function f() {
        return 5;
    }

    function g() {
        return 7;
    }

    var x = [f,f,f,f,g];
    var y = 0;
    for (var i = 0; i < 5; ++i)
        y = x[i]();
    return y;
}
assertEq(testCALLELEM(), 7);

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
johnson19-2.0.0.pre3 vendor/tracemonkey/trace-test/tests/basic/testCallElem.js
pre-johnson-2.0.0 vendor/tracemonkey/trace-test/tests/basic/testCallElem.js
johnson-2.0.0.pre3 vendor/tracemonkey/trace-test/tests/basic/testCallElem.js
johnson-2.0.0.pre2 vendor/tracemonkey/trace-test/tests/basic/testCallElem.js
johnson-2.0.0.pre1 vendor/tracemonkey/trace-test/tests/basic/testCallElem.js