Make this work Technology Community › Category: JavaScript › Make this work 0 Vote Up Vote Down VietMX Staff asked 4 years ago Problem duplicate([1, 2, 3, 4, 5]); // [1,2,3,4,5,1,2,3,4,5] function duplicate(arr) { return arr.concat(arr); } duplicate([1, 2, 3, 4, 5]); // [1,2,3,4,5,1,2,3,4,5]