From 96f8f2891b52fb3801269a468c3318351d80f9b2 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 2 Nov 2012 11:54:37 -0700 Subject: [PATCH] Fix typo in `_.times` test. Former-commit-id: 0c32ded25b80debf4ae2ea9a9e60ee74b98c15a1 --- perf/perf.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perf/perf.js b/perf/perf.js index 55c8c397f..5bd958b6b 100644 --- a/perf/perf.js +++ b/perf/perf.js @@ -1577,11 +1577,11 @@ Benchmark.Suite('`_.times`') .add(buildName, '\ var result = [];\ - lodash.times(length, function(n) { result.push(n); })' + lodash.times(limit, function(n) { result.push(n); })' ) .add(otherName, '\ var result = [];\ - _.times(length, function(n) { result.push(n); })' + _.times(limit, function(n) { result.push(n); })' ) ); @@ -1589,11 +1589,11 @@ Benchmark.Suite('`_.times` with `thisArg`') .add(buildName, '\ var result = [];\ - lodash.times(length, function(n) { result.push(this.sin(n)); }, Math)' + lodash.times(limit, function(n) { result.push(this.sin(n)); }, Math)' ) .add(otherName, '\ var result = [];\ - _.times(length, function(n) { result.push(this.sin(n)); }, Math)' + _.times(limit, function(n) { result.push(this.sin(n)); }, Math)' ) );