{"ScriptPreparationCode":null,"TestCases":[{"Name":"object update with spread operator","Code":"let obj = {}\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n obj = {...obj, [i]: (i || 0) \u002B 1}\r\n}","IsDeferred":false},{"Name":"object update with indexing ","Code":"const obj = {}\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n obj[i] = (obj[i] || 0) \u002B 1\r\n}","IsDeferred":false},{"Name":"map update","Code":"const map = new Map()\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n map.set(i, (map.get(i) || 0) \u002B 1)\r\n}","IsDeferred":false}]}