{"ScriptPreparationCode":"var Map1 = new Map([\r\n [{}, {}],\r\n [{}, {}],\r\n [{}, {}],\r\n [{}, {}],\r\n [{}, {}],\r\n [{}, {}],\r\n [{}, {}]\r\n]);\r\n\r\nvar Map2 = new Map([\r\n [1, 0],\r\n [2, 0],\r\n [3, 0],\r\n [4, 0],\r\n [5, 0],\r\n [6, 0],\r\n [7, 0]\r\n]);\r\n\r\nvar Map3 = new Map([\r\n [\u0027a\u0027, \u0027String\u0027],\r\n [\u0027b\u0027, \u0027String\u0027],\r\n [\u0027c\u0027, \u0027String\u0027],\r\n [\u0027d\u0027, \u0027String\u0027],\r\n [\u0027e\u0027, \u0027String\u0027],\r\n [\u0027f\u0027, \u0027String\u0027],\r\n [\u0027g\u0027, \u0027String\u0027]\r\n]);\r\n\r\nvar Map4 = new Map([\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()],\r\n [Symbol(), new Set()]\r\n]);\r\n\r\nvar Target = new Map();","TestCases":[{"Name":"shared variables","Code":"let tuple, key, value\r\nfor (tuple of Map1) {\r\n key = tuple[0];\r\n value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (tuple of Map2) {\r\n key = tuple[0];\r\n value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (tuple of Map3) {\r\n key = tuple[0];\r\n value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (tuple of Map4) {\r\n key = tuple[0];\r\n value = tuple[1];\r\n Target.set(key, value);\r\n}","IsDeferred":false},{"Name":"non-shared variables","Code":"for (const tuple of Map1) {\r\n const key = tuple[0];\r\n const value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (const tuple of Map2) {\r\n const key = tuple[0];\r\n const value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (const tuple of Map3) {\r\n const key = tuple[0];\r\n const value = tuple[1];\r\n Target.set(key, value);\r\n}\r\nfor (const tuple of Map4) {\r\n const key = tuple[0];\r\n const value = tuple[1];\r\n Target.set(key, value);\r\n}","IsDeferred":false},{"Name":"destructured","Code":"for (const [key, value] of Map1) {\r\n Target.set(key, value);\r\n}\r\nfor (const [key, value] of Map2) {\r\n Target.set(key, value);\r\n}\r\nfor (const [key, value] of Map3) {\r\n Target.set(key, value);\r\n}\r\nfor (const [key, value] of Map4) {\r\n Target.set(key, value);\r\n}","IsDeferred":false}]}