mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Fix typo in _.times test.
Former-commit-id: 0c32ded25b80debf4ae2ea9a9e60ee74b98c15a1
This commit is contained in:
@@ -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)'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user