{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.prototype.concat - few iterations","Code":"const obj = { a: \u0027string\u0027, b: 99 };\r\nconst a = Array(50).fill(obj);\r\nlet b = [];\r\nfor (let i = 0; i \u003C 20; i\u002B\u002B) {\r\n b = b.concat(a);\r\n}","IsDeferred":false},{"Name":"Spread operator - few iterations","Code":"const obj = { a: \u0027string\u0027, b: 99 };\r\nconst a = Array(50).fill(obj);\r\nlet b = [];\r\nfor (let i = 0; i \u003C 20; i\u002B\u002B) {\r\n b = [...b, ...a];\r\n}","IsDeferred":false},{"Name":"Array.prototype.concat - many iterations","Code":"const obj = { a: \u0027string\u0027, b: 99 };\r\nconst a = Array(50).fill(obj);\r\nlet b = [];\r\nfor (let i = 0; i \u003C 200; i\u002B\u002B) {\r\n b = b.concat(a);\r\n}","IsDeferred":false},{"Name":"Spread operator - many iterations","Code":"const obj = { a: \u0027string\u0027, b: 99 };\r\nconst a = Array(50).fill(obj);\r\nlet b = [];\r\nfor (let i = 0; i \u003C 200; i\u002B\u002B) {\r\n b = [...b, ...a];\r\n}","IsDeferred":false}]}