{"ScriptPreparationCode":"window.editIndex = 1000;\r\nwindow.arr = new Array(2000).fill({value: \u0027old\u0027});","TestCases":[{"Name":"Map","Code":"const newArr = arr.map((item, index) =\u003E index === editIndex ? {value: \u0027new\u0027} : item);","IsDeferred":false},{"Name":"Slice","Code":"const newArr = [\r\n\t...arr.slice(0, editIndex),\r\n {value: \u0027new\u0027},\r\n\t...arr.slice(editIndex \u002B 1),\r\n];","IsDeferred":false}]}