{"ScriptPreparationCode":"var input = [];\r\nfor (var i = 0; i \u003C 50000; i\u002B\u002B) {\r\n input.push({\r\n id: i,\r\n data: \u0027something\u0027\r\n })\r\n}","TestCases":[{"Name":"Array splice","Code":"const index = input.findIndex(val =\u003E val.id === 999);\r\ninput.splice(index, 1, {id: 999, data: \u0027somethingElse\u0027});","IsDeferred":false},{"Name":"Object property assign","Code":"const index = input.findIndex(val =\u003E val.id === 999);\r\ninput[index] = {id: 999, data: \u0027somethingElse\u0027}","IsDeferred":false}]}