how to write content of array in console.log instead of Array text only code example Example: how to console log array in javascript console.log(arrayName);