{"ScriptPreparationCode":"var i = 0, count = 1000, a;\r\nvar map = new Map();\r\n\r\nfor (i = 0; i \u003C count; i\u002B\u002B) {\r\n if (Math.random() \u003E 0.5) {\r\n map.set(i, {\r\n \u0022compilerOptions\u0022: {\r\n \u0022lib\u0022: [\u0022esnext\u0022, \u0022dom\u0022],\r\n \u0022target\u0022: \u0022esnext\u0022,\r\n \u0022esModuleInterop\u0022: true,\r\n \u0022resolveJsonModule\u0022: true,\r\n \u0022strict\u0022: true,\r\n \u0022moduleResolution\u0022: \u0022node\u0022,\r\n \u0022noEmit\u0022: true\r\n }\r\n}\r\n);\r\n }\r\n}\r\n\r\n","TestCases":[{"Name":"Map 1","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = map.get(i);\r\n}","IsDeferred":false},{"Name":"Map 2","Code":"for (i = 0; i \u003C count; i\u002B\u002B) {\r\n if (map.has(i)) {\r\n a = map.get(i);\r\n }\r\n}","IsDeferred":false}]}