mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Remove remaining rest helper use.
This commit is contained in:
5
pull.js
5
pull.js
@@ -1,4 +1,3 @@
|
||||
import baseRest from './_baseRest.js';
|
||||
import pullAll from './pullAll.js';
|
||||
|
||||
/**
|
||||
@@ -24,6 +23,8 @@ import pullAll from './pullAll.js';
|
||||
* console.log(array);
|
||||
* // => ['b', 'b']
|
||||
*/
|
||||
const pull = baseRest(pullAll);
|
||||
function pull(array, ...values) {
|
||||
return pullAll(array, values);
|
||||
}
|
||||
|
||||
export default pull;
|
||||
|
||||
Reference in New Issue
Block a user