SyntaxFix
Write A Post
Hire A Developer
Questions
You could use lodash _get function:
lodash _get
var object = { 'a': [{ 'b': { 'c': 3 } }] }; _.get(object, 'a[0].b.c'); // => 3