only log 1 item node.js code example Example: console log all array values node console.dir(myArry, {'maxArrayLength': null});