Sobes.tech
Junior — Senior

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

livecode

Task condition

The function takes a list of keys and an object of arbitrary nesting, extracting the value at the specified path. If at least one of the keys is not found, the function returns undefined.