5 ms·
What if them is `undefined`? You'll get an exception when usually you just want `undefined` as the answer. As a side note, Ember.js has a nice method for this
by EvilTrout 12y ago
What if them is `undefined`? You'll get an exception when usually you just want `undefined` as the answer.
As a side note, Ember.js has a nice method for this built in, that works on plain old Javascript objects as well as the heavier Ember ones:
Em.get(obj, 'user.them.public_keys.primary.bundle')
- gcb0 12y agotry{} ?