Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JSONSelect. Parent comment
JSONSelect.match(".nonexistantkey .somechild", obj) returns []
Alternately, if you use the JSONSelect.forEach() method your callback will just not be invoked.
So no existence testing before access for recursive values. A main benefit of this thing in javascript.
There are no comments on this comment yet.
JSONSelect.match(".nonexistantkey .somechild", obj) returns []
Alternately, if you use the JSONSelect.forEach() method your callback will just not be invoked.
So no existence testing before access for recursive values. A main benefit of this thing in javascript.