{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object","Code":"let obj = {};\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n obj[i] = i;\r\n}\r\n\r\nlet out = new Array(100);\r\nfor (let t = 0; t \u003C 100; t\u002B\u002B) {\r\n const idx = Math.floor(Math.random() * 10000);\r\n out[t] = obj[idx]\r\n}\r\n","IsDeferred":false},{"Name":"Map","Code":"let map = new Map();\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n map.set(i, i);\r\n}\r\n\r\nlet out = new Array(100);\r\nfor (let t = 0; t \u003C 100; t\u002B\u002B) {\r\n const idx = Math.floor(Math.random() * 10000);\r\n out[t] = map.get(idx)\r\n}","IsDeferred":false}]}