Closed
Description
I migrated from a similar module called lodash-deep. It had the nice feature that the set
function would return the target object, so you could make a new object from a literal and assign it like this:
var req = pathval.set({}, 'session.token.modelId', new ObjectID());
In pathval, req
ends up undefined here.
Metadata
Metadata
Assignees
Labels
No labels