{"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\n\r\nvar array = [\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\n","TestCases":[{"Name":"Array for-of","Code":"let total = 0;\r\nfor(const item of array){\r\n\ttotal \u002B= item[1];\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}]}