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