Снимите кронштейны из массива JavaScript
const arr = [1, -2, 3, 4];
console.log(arr.reduce((prev, curr) => prev + ', ' + curr));
Adorable Armadillo
const arr = [1, -2, 3, 4];
console.log(arr.reduce((prev, curr) => prev + ', ' + curr));