Tambahkan teks ke setiap elemen dalam array javascript
var arr = ['first', 'second', 'third'];
arr = arr.map(i => '#' + i);
Cloudy Crayfish
var arr = ['first', 'second', 'third'];
arr = arr.map(i => '#' + i);