summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testLambdaInitedVar.js
blob: e37b4f9c7bd3fff3379e3ea49928465208954932 (plain)
1
2
3
4
5
6
7
8
function testLambdaInitedVar() {
    var jQuery = function (a, b) {
        return jQuery && jQuery.length;
    }
    return jQuery();
}

assertEq(testLambdaInitedVar(), 2);