Entfernen Sie Klammern aus Array 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));