{"ScriptPreparationCode":null,"TestCases":[{"Name":"JS spread","Code":"const arr1 = [ 1,2,3 ];\r\nconst arr2 = [ 4,5,6 ];\r\nfunction sum(arr){ return arr.reduce((prev, curr) =\u003E prev \u002B curr, 0); }\r\nsum([...arr1,...arr2]);","IsDeferred":false},{"Name":"JS Concat","Code":"const arr1 = [ 1,2,3 ];\r\nconst arr2 = [ 4,5,6 ];\r\nfunction sum(arr){ return arr.reduce((prev, curr) =\u003E prev \u002B curr, 0); }\r\nsum(arr1.concat(arr2));","IsDeferred":false},{"Name":"Avoiding","Code":"const arr1 = [ 1,2,3 ];\r\nconst arr2 = [ 4,5,6 ];\r\nfunction sum(arr){ return arr.reduce((prev, curr) =\u003E prev \u002B curr, 0); }\r\nsum(arr1) \u002B sum(arr2);","IsDeferred":false}]}