Minor nit, add default greeting to bind benchmark. [ci skip]

This commit is contained in:
John-David Dalton
2014-02-04 22:59:05 -08:00
parent 201d17bc31
commit e949eb8623

View File

@@ -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),\