{"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":"ES6 Object Spread","Code":"input = {\r\n ...input,\r\n [999]: {id: 999, data: \u0027somethingElse\u0027}\r\n }","IsDeferred":false},{"Name":"Object property assign","Code":"input[999] = {id: 999, data: \u0027somethingElse\u0027}","IsDeferred":false}]}