{"ScriptPreparationCode":"var mapData = [];\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n mapData.push([i, \u0060object${i}\u0060]);\r\n}\r\nvar map = new Map(mapData);\r\n \r\nvar obj = {};\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n obj[i] = \u0060object${i}\u0060;\r\n}","TestCases":[{"Name":"for loop of Map","Code":"let sum = 0;\r\nfor (let [key, val] of map) {\r\n sum \u002B= key;\r\n}","IsDeferred":false},{"Name":"for loop of Object","Code":"let sum = 0;\r\nfor (let [key, val] of Object.entries(obj)) {\r\n sum \u002B= key;\r\n}","IsDeferred":false}]}