summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug740445.js
blob: 227ddfc2360472d177f6c23e22d2449e23ca3d8c (plain)
1
2
3
4
5
6
7
8
9
function testMethodInit() {
    function o() {}
    function k() {
        for (i = 0; i < this.depth; ++i) {}
    }
    for (var i = 0; i < 10; i++)
        (i) = {o: o, k: k};
}
testMethodInit();