{"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\r\nvar array = [\r\n [1], \r\n [2], \r\n [3], \r\n [4], \r\n [5], \r\n [6], \r\n [7], \r\n [8], \r\n [9], \r\n [10], \r\n [11], \r\n [12], \r\n [13], \r\n [14], \r\n [15], \r\n [16], \r\n [17], \r\n [18], \r\n [19], \r\n [20], \r\n [21], \r\n [22], \r\n [23], \r\n [24], \r\n [25], \r\n [26], \r\n];\r\n","TestCases":[{"Name":"Array for-of","Code":"let total = 0;\r\nfor(const item of array){\r\n\ttotal \u002B= item[0];\r\n}","IsDeferred":false},{"Name":"Map for-of","Code":"let total = 0;\r\nfor (const [key, value] of map) {\r\n\ttotal \u002B= value;\r\n}","IsDeferred":false}]}