{"ScriptPreparationCode":"window.map = new Map();\r\nwindow.obj = {};\r\n\r\nfor (let i = 0; i \u003C 10000; \u002B\u002Bi) {\r\n window.map.set(i, i);\r\n window.obj[i] = i;\r\n}\r\n\r\n window.result = undefined;","TestCases":[{"Name":"Map lookup","Code":"for (let i = 0; i \u003C 10000; \u002B\u002Bi) {\r\n window.result = window.map.get(i)\r\n}","IsDeferred":false},{"Name":"Object lookup","Code":"for (let i = 0; i \u003C 10000; \u002B\u002Bi) {\r\n window.result = window.obj[i];\r\n}","IsDeferred":false},{"Name":"Map delete","Code":"const mapCopy = new Map(window.map);\r\n\r\nfor (let i = 0; i \u003C 10000; \u002B\u002Bi) {\r\n mapCopy.delete(i);\r\n}","IsDeferred":false},{"Name":"Object delete","Code":"const objCopy = { ... window.obj };\r\n\r\nfor (let i = 0; i \u003C 10000; \u002B\u002Bi) {\r\n delete objCopy[i];\r\n}","IsDeferred":false}]}