mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Minor nit, add default greeting to bind benchmark. [ci skip]
This commit is contained in:
@@ -310,7 +310,7 @@
|
||||
var thisArg = { "name": "fred" };\
|
||||
\
|
||||
var func = function(greeting, punctuation) {\
|
||||
return greeting + " " + this.name + (punctuation || ".");\
|
||||
return (greeting || "hi") + " " + this.name + (punctuation || ".");\
|
||||
};\
|
||||
\
|
||||
var _boundNormal = _.bind(func, thisArg),\
|
||||
|
||||
Reference in New Issue
Block a user