summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/pic/to-dictionary.js
blob: e4f22021f8246be6913122e392f60b715cec0d31 (plain)
1
2
3
4
5
6
7
8
9
function f() {
    var MAX_HEIGHT = 512;
    var obj = {};
    for (var i = 0; i < MAX_HEIGHT; i++)
        obj['a' + i] = i;
    obj.m = function () { return 0; };
}
f();
f();