mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove second _.rearg example. [ci skip]
This commit is contained in:
@@ -7823,12 +7823,6 @@
|
|||||||
*
|
*
|
||||||
* rearged('b', 'c', 'a')
|
* rearged('b', 'c', 'a')
|
||||||
* // => ['a', 'b', 'c']
|
* // => ['a', 'b', 'c']
|
||||||
*
|
|
||||||
* var map = _.rearg(_.map, [1, 0]);
|
|
||||||
* map(function(n) {
|
|
||||||
* return n * 3;
|
|
||||||
* }, [1, 2, 3]);
|
|
||||||
* // => [3, 6, 9]
|
|
||||||
*/
|
*/
|
||||||
var rearg = restParam(function(func, indexes) {
|
var rearg = restParam(function(func, indexes) {
|
||||||
return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes));
|
return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes));
|
||||||
|
|||||||
Reference in New Issue
Block a user