mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Bump to v4.17.0.
This commit is contained in:
4
flip.js
4
flip.js
@@ -1,7 +1,7 @@
|
||||
import createWrap from './_createWrap.js';
|
||||
|
||||
/** Used to compose bitmasks for function metadata. */
|
||||
var FLIP_FLAG = 512;
|
||||
var WRAP_FLIP_FLAG = 512;
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with arguments reversed.
|
||||
@@ -22,7 +22,7 @@ var FLIP_FLAG = 512;
|
||||
* // => ['d', 'c', 'b', 'a']
|
||||
*/
|
||||
function flip(func) {
|
||||
return createWrap(func, FLIP_FLAG);
|
||||
return createWrap(func, WRAP_FLIP_FLAG);
|
||||
}
|
||||
|
||||
export default flip;
|
||||
|
||||
Reference in New Issue
Block a user