Snippets

Get Values from Nested Objects

When we are working with nested objects, many times we want to retrieve a single value what is deeply stored in the object.

If we don’t need the complexity of lodash’s get library, we use this little snippet:

More JavaScript Snippets