From e949eb8623b946cd4ad3729baa42ff6ea5439507 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 4 Feb 2014 22:59:05 -0800 Subject: [PATCH] Minor nit, add default greeting to bind benchmark. [ci skip] --- perf/perf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/perf.js b/perf/perf.js index 0e4af6f05..644975a42 100644 --- a/perf/perf.js +++ b/perf/perf.js @@ -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),\