how to print array in console javascript code example Example: how to console log array in javascript console.log(arrayName);