Dynamically get a nested value from an array or object with a string.
Optional
get(person, 'friends[0].name') Copy
get(person, 'friends[0].name')
Dynamically get a nested value from an array or object with a string.