mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Bump to v4.14.0.
This commit is contained in:
4
at.js
4
at.js
@@ -1,6 +1,6 @@
|
||||
import baseAt from './_baseAt.js';
|
||||
import baseFlatten from './_baseFlatten.js';
|
||||
import rest from './rest.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
|
||||
/**
|
||||
* Creates an array of values corresponding to `paths` of `object`.
|
||||
@@ -19,7 +19,7 @@ import rest from './rest.js';
|
||||
* _.at(object, ['a[0].b.c', 'a[1]']);
|
||||
* // => [3, 4]
|
||||
*/
|
||||
var at = rest(function(object, paths) {
|
||||
var at = baseRest(function(object, paths) {
|
||||
return baseAt(object, baseFlatten(paths, 1));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user