{"ScriptPreparationCode":"var params = [ \u0022hello\u0022, true, 1, { foo: \u0027bar\u0027 } ];\r\n\r\nvar concat = (input) =\u003E [].concat(params);\r\nvar push = (input) =\u003E [].push(...input);\r\nvar concatApply = (input) =\u003E Array.prototype.concat.apply([], input);\r\nvar pushApply = (input) =\u003E Array.prototype.push.apply([], input);\r\nvar spread = (input) =\u003E [...input];\r\nvar loop = (input) =\u003E {\r\n var acc = [];\r\n for(var i = 0, l = input.length; i \u003C l; i\u002B\u002B) {\r\n acc.push(input[i]);\r\n }\r\n return acc;\r\n}","TestCases":[{"Name":"Array.prototype.concat","Code":"const result = concat(params);","IsDeferred":false},{"Name":"Array.prototype.push spread","Code":"const result = push(params);","IsDeferred":false},{"Name":"Array.prototype.concat.apply","Code":"const result = concatApply(params);","IsDeferred":false},{"Name":"Array.prototype.push.apply","Code":"const result = pushApply(params);","IsDeferred":false},{"Name":"Spread","Code":"const result = spread(params);","IsDeferred":false},{"Name":"Loop Push","Code":"const result = spread(params);","IsDeferred":false}]}