3 ms·
with the reference implementation: JSONSelect.match(".nonexistantkey .somechild", obj) returns [] Alternately, if you use the JSONSelect.forEach() method your
by lloydhilaiel 15y ago
with the reference implementation:
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.