{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread operator","Code":"var events = new Array(100).fill(256);\r\nvar promisesArr = [];\r\n\r\nevents.forEach(event =\u003E {\r\n promisesArr = [\r\n {event: \u0022A\u0022, number: event},\r\n {event: \u0022B\u0022, number: event*2},\r\n {event: \u0022C\u0022, number: event*3},\r\n ...promisesArr\r\n ];\r\n});","IsDeferred":false},{"Name":"Push","Code":"var events = new Array(100).fill(256);\r\nvar promisesArr = [];\r\n\r\nevents.forEach(event =\u003E {\r\n promisesArr.push({event: \u0022A\u0022, number: event});\r\n promisesArr.push({event: \u0022B\u0022, number: event*2});\r\n promisesArr.push({event: \u0022C\u0022, number: event*3});\r\n});","IsDeferred":false}]}