mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Bump to v4.13.0.
This commit is contained in:
10
pull.js
10
pull.js
@@ -1,5 +1,5 @@
|
||||
import pullAll from './pullAll';
|
||||
import rest from './rest';
|
||||
import pullAll from './pullAll.js';
|
||||
import rest from './rest.js';
|
||||
|
||||
/**
|
||||
* Removes all given values from `array` using
|
||||
@@ -18,11 +18,11 @@ import rest from './rest';
|
||||
* @returns {Array} Returns `array`.
|
||||
* @example
|
||||
*
|
||||
* var array = [1, 2, 3, 1, 2, 3];
|
||||
* var array = ['a', 'b', 'c', 'a', 'b', 'c'];
|
||||
*
|
||||
* _.pull(array, 2, 3);
|
||||
* _.pull(array, 'a', 'c');
|
||||
* console.log(array);
|
||||
* // => [1, 1]
|
||||
* // => ['b', 'b']
|
||||
*/
|
||||
var pull = rest(pullAll);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user