Sobes.tech
Intern — Middle

Retrieving a value from a nested structure via a chain of keys

livecode

Task condition

The function receives a list of keys and an object of arbitrary depth, and returns the value located at the specified path. If at least one of the keys is missing in the object, the result will be undefined.