{"ScriptPreparationCode":"var obj = {\r\n a: 1,\r\n b: 2,\r\n c: 3,\r\n d: 4,\r\n e: 5,\r\n f: 6,\r\n g: 7,\r\n h: 8,\r\n i: 9,\r\n j: 10,\r\n k: 11,\r\n l: 12,\r\n m: 13,\r\n n: 14,\r\n o: 15,\r\n p: 16,\r\n q: 17,\r\n r: 18,\r\n s: 19,\r\n t: 20,\r\n u: 21,\r\n v: 22,\r\n w: 23,\r\n x: 24,\r\n y: 25,\r\n z: 26\r\n};\r\nvar map = new Map(Object.entries(obj));\r\n","TestCases":[{"Name":"Map - for of kv","Code":"let total = 0;\r\nfor (const [key, value] of map) {\r\n\ttotal \u002B= value;\r\n}","IsDeferred":false},{"Name":"Map - forEach","Code":"let total = 0;\r\nmap.forEach(function(value, key) {\r\n total \u002B= value;\r\n});","IsDeferred":false},{"Name":"Object.entries() - for of kv","Code":"let total = 0;\r\nfor (const [key, value] of Object.entries(obj)) {\r\n total \u002B= value;\r\n}","IsDeferred":false},{"Name":"Object.entries() - forEach","Code":"let total = 0;\r\nObject.entries(obj).forEach(function(value, key) {\r\n total \u002B= value;\r\n});","IsDeferred":false},{"Name":"Object - for in","Code":"let total = 0;\r\nfor (const key in obj) {\r\n total \u002B= obj[key];\r\n}","IsDeferred":false}]}