{"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, Promise.resolve());\r\n }\r\n}\r\n\r\n","TestCases":[{"Name":"Map 1","Code":"let b;\r\nfor (i = 0; i \u003C count; i\u002B\u002B) {\r\n a = map.get(i);\r\n if (a) {\r\n b = a;\r\n }\r\n}","IsDeferred":false},{"Name":"Map 2","Code":"let b;\r\nfor (i = 0; i \u003C count; i\u002B\u002B) {\r\n if (map.has(i)) {\r\n b = map.get(i);\r\n }\r\n}","IsDeferred":false}]}