Travis build: 1304
This commit is contained in:
@ -16,6 +16,6 @@ const get = (from, ...selectors) =>
|
||||
```
|
||||
|
||||
```js
|
||||
const obj = { selector: { to: { val: 'val to select' } }, target: [1, 2, {a: 'test'}] };
|
||||
const obj = { selector: { to: { val: 'val to select' } }, target: [1, 2, { a: 'test' }] };
|
||||
get(obj, 'selector.to.val', 'target[0]', 'target[2].a'); // ['val to select', 1, 'test']
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user