You are viewing a submission by a user. This is the read only version. Try solving this
question here.

How to set value in an object by path? | Implement Lodash Set Method | JavaScript Interview Question

Submission by
@Yomesh Gupta
https://www.devtools.tech/