{"ScriptPreparationCode":"var arr = Array(1_000_000);\r\nfor (let i = 0; i \u003C 1_000_000; i\u002B\u002B) {\r\n arr[i] = { num: Math.random() };\r\n}","TestCases":[{"Name":"while","Code":"var newArr = [];\r\nlet l = arr.length;\r\nlet i = -1;\r\nwhile (\u002B\u002Bi \u003C l) {\r\n newArr.push(arr[i].num);\r\n}","IsDeferred":false},{"Name":"for","Code":"var newArr = [];\r\nvar l = arr.length;\r\nfor (var i = 0; i \u003C l; i\u002B\u002B) {\r\n newArr.push(arr[i].num);\r\n}","IsDeferred":false},{"Name":"for-of","Code":"var newArr = [];\r\n\r\nfor (var val of arr) {\r\n newArr.push(val.num);\r\n}","IsDeferred":false},{"Name":".map","Code":"var newArr = arr.map(val =\u003E val.num);","IsDeferred":false}]}