Remove remaining rest helper use.

This commit is contained in:
John-David Dalton
2017-01-09 15:36:35 -08:00
parent 648722f1a6
commit aacfefc752
25 changed files with 53 additions and 165 deletions

View File

@@ -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;