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();