console.log multiple array items js code example
Example 1: How can I print multiple arrays on separate lines using same console.log?
var a = [2, 4];
var b = [5, 6];
console.log('',a,'\n',b)
Example 2: console log all array values node
console.dir(myArry, {'maxArrayLength': null});