{"ScriptPreparationCode":"permutations = new Array(10000).map(() =\u003E ({ pagination: \u0027blah blah blah\u0027 }));\r\nvar index = 500;","TestCases":[{"Name":"Spread ","Code":"let newArr = [...permutations]\r\nnewArr[index] = \u0027NEW blah blah blah\u0027;\r\nreturn newArr;","IsDeferred":false},{"Name":"Map ","Code":"const newArr = permutations.map((item, i) =\u003E {\r\n if (i === index) {\r\n \r\n return item = \u0027NEW blah blah blah\u0027;\r\n } else {\r\n \r\n return item;\r\n }\r\n})\r\n return newArr;","IsDeferred":false}]}