User Input Array Javascript Mdn