tjmehta / 101

A modern JS utility library
MIT License
1.55k stars 75 forks source link

fix put keypath #138

Closed tjmehta closed 8 years ago

tjmehta commented 8 years ago
var obj = { foo: { bar: 1 } }
put(obj, 'foo.qux', true)
// bug, overwrites nested obj
// { foo: { qux: true } }