Access deeply nested object properties using a path string.
obj.foo.barwill throw a TypeError if
obj.foois not an object. peeking will yield
obj['the question is']["'doctor who?'"]is verbose compared to peeking with
the question is.'doctor who?'.
var peek =var booty =var pirate_ship ='lower deck':"captain's quarters":'secret panel':treasure: '5000 gold'console // == "5000 gold"
Property names may not contain dots, as all dots are interpreted as object key separators.
$ git clone # clone or fork$ cd peek$ npm install$ npm test