mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Apply arrow function transform.
This commit is contained in:
2
bind.js
2
bind.js
@@ -42,7 +42,7 @@ var WRAP_BIND_FLAG = 1,
|
||||
* bound('hi');
|
||||
* // => 'hi fred!'
|
||||
*/
|
||||
var bind = baseRest(function(func, thisArg, partials) {
|
||||
var bind = baseRest((func, thisArg, partials) => {
|
||||
var bitmask = WRAP_BIND_FLAG;
|
||||
if (partials.length) {
|
||||
var holders = replaceHolders(partials, getHolder(bind));
|
||||
|
||||
Reference in New Issue
Block a user