I was solving a challenge and got to a point where I had to implement a store that could hold arbitrarily deeply nested objects. The new me, I need to see what others have done.

I found dot-prop npm package, which solves it quite well.

But going through this gist, I found this answer.

The author said a “functional way to solve it”…

github.com/shiftyp

And this right here, is an example of declarative programming.

I love this!

Shalom…