HF RL Explorer

Recursive Property Search in Nested Objects

Recursive Property Search in Nested Objects: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a JavaScript utility function that recursively searches through a nested object to find a property by its name and returns its value.

The task

You need to implement a JavaScript utility function that recursively searches through a nested object to find a property by its name and returns its value.

Part of PrimeIntellect/Terminal-Lego-15k.