console log an array code example
Example 1: console log all array values node
console.dir(myArry, {'maxArrayLength': null});
Example 2: how to console log array in javascript
console.log(arrayName);
console.dir(myArry, {'maxArrayLength': null});
console.log(arrayName);