{"ScriptPreparationCode":"class Second {\r\n dict = {}\r\n loopCached() {\r\n const dict = this.dict;\r\n for (const key in dict) {\r\n if (dict.hasOwnProperty(key)) {\r\n cb(dict[key], key);\r\n }\r\n }\r\n }\r\n loop() {\r\n for (const key in this.dict) {\r\n if (this.dict.hasOwnProperty(key)) {\r\n cb(this.dict[key], key);\r\n }\r\n }\r\n }\r\n}\r\n\r\nwindow.second = new Second();\r\n\r\nfor (let i = 0; i \u003C 1e6; i\u002B\u002B) {\r\n second[\u0022dict\u0022][i] = i\r\n}\r\n\r\nconst cb = (k, v) =\u003E {\r\n return v % 2\r\n}","TestCases":[{"Name":"Non Cached","Code":"second.loop()","IsDeferred":false},{"Name":"Cached","Code":"second.loopCached()","IsDeferred":false}]}