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:

Leave a Reply

Your email address will not be published. Required fields are marked *