substack/js-traverse — pull request #31 by CrabDude (2013-04-09 21:38:19+00:00)
Title: Add support for string-based paths to `has`, `get` and `set`

Minor note:

Since `traverse.set` is a noop for an invalid path,
```javascript
traverse.set({foo: 2}, ['foo', 2, 'bar'], 'baz')
```
`traverse.set({foo: 2}, [], 'bar')` is a noop.