{"ScriptPreparationCode":"// Create sample data\r\nconst N = 1_000_000;\r\nvar theArr = Array.from({ length: N }, (_, i) =\u003E i);\r\nvar theArr2 = []","TestCases":[{"Name":".map","Code":"for (let i=0;i\u003CtheArr.length; i\u002B\u002B) {\r\n theArr2.push(theArr[i]\u002B2);\r\n }","IsDeferred":false},{"Name":"for loop","Code":" theArr2 = theArr.map( (theEl)=\u003EtheEl\u002B1 ).map( (theEl)=\u003EtheEl\u002B1 );","IsDeferred":false}]}