{"ScriptPreparationCode":"list = Array.from({\r\n length: 1000\r\n}, (v, i) =\u003E ({\r\n id: \u0027id\u0027 \u002B i\r\n}));\r\nobj = list.reduce((acc, cur) =\u003E {\r\n acc[cur.id] = cur;\r\n return acc;\r\n}, {});","TestCases":[{"Name":"update in array","Code":"const list2 = list.map(item =\u003E item.id === \u0027id500\u0027 ? {...item, updated: true} : item)\r\n","IsDeferred":false},{"Name":"update in obj","Code":"const obj2 = {...obj, id500: {...obj[\u0027id500\u0027], updated: true}}","IsDeferred":false}]}