Fix typo in _.times test.

Former-commit-id: 0c32ded25b80debf4ae2ea9a9e60ee74b98c15a1
This commit is contained in:
John-David Dalton
2012-11-02 11:54:37 -07:00
parent 581d73afe0
commit 96f8f2891b

View File

@@ -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)'
)
);