DEV Community

Discussion on: Optional handmade chaining 🤓

Collapse
 
andrewbridge profile image
Andrew Bridge

Always fun to work through these problems as a learning experience, but here's another implementation, based on the lodash get method.

github.com/cedmax/youmightnotneed/...

The same GitHub repo has examples of set and has implementations.

Collapse
 
wakeupmh profile image
Marcos Henrique

Awesome tip fude, thank u for sharing 🌞🤘