vertical array js code example Example: how to make a vertical array js var array = ['one', 'two', 'three'] element.textContent = array.join('\n')