comment faire un tableau vertical js

var array = ['one', 'two', 'three']
element.textContent = array.join('\n')
ayaya