{"ScriptPreparationCode":"var sample_arr = new Array()\r\nfor (const x of Array(5).keys()) {\r\n window.sample_arr = {\r\n x,\r\n y: x \u002B 1\r\n }\r\n}\r\nconsole.log(window.sample_arr)","TestCases":[{"Name":"Single Loop","Code":"// s1 = sample_arr.map(x =\u003E console.log(x.x, x.y))\r\n\r\nfor (const x of sample_arr) {\r\n\tconsole.log(x.x, x.y)\r\n}","IsDeferred":false},{"Name":"2 seq Loops","Code":"//s2 = sample_arr.map(x =\u003E console.log(x.x))\r\n//s3 = sample_arr.map(x =\u003E console.log(x.y))\r\nfor (const x of sample_arr) {\r\n\tconsole.log(x.x)\r\n}\r\nfor (const x of sample_arr) {\r\n\tconsole.log(x.y)\r\n}","IsDeferred":false}]}