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