{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array push","Code":"let commentsByPostId = {}\r\n \r\nconst maxInterations = 100000\r\n\r\nfor (let i = 0; i \u003C maxInterations; i\u002B\u002B){\r\n const postId = Math.floor(Math.random() * maxInterations).toString()\r\n const comments = commentsByPostId[postId] ?? []\r\n\r\n comments.push({ id: i, content: \u0060Test - ${i}\u0060 })\r\n\r\n commentsByPostId[postId] = comments\r\n}","IsDeferred":false},{"Name":"Array deconstruction","Code":"let commentsByPostId = {}\r\n \r\nconst maxInterations = 100000\r\n\r\nfor (let i = 0; i \u003C maxInterations; i\u002B\u002B){\r\n const postId = Math.floor(Math.random() * maxInterations).toString()\r\n\r\n commentsByPostId[postId] = [\r\n ...commentsByPostId[postId] ?? [], \r\n ...[{ id: i, content: \u0060Test - ${i}\u0060 }] \r\n ]\r\n}","IsDeferred":false}]}