var array = ['a', 'b', 'c'], result = array.reduce((r, a) => r.concat(a, 0), [0]); console.log(result);