how to log an element from an array into console code example Example: how to console log array in javascript console.log(arrayName);