Created an array in JS, console.log array length and then each name