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