mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Fix typo in _.times test.
Former-commit-id: 0c32ded25b80debf4ae2ea9a9e60ee74b98c15a1
This commit is contained in:
@@ -1577,11 +1577,11 @@
|
|||||||
Benchmark.Suite('`_.times`')
|
Benchmark.Suite('`_.times`')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
var result = [];\
|
var result = [];\
|
||||||
lodash.times(length, function(n) { result.push(n); })'
|
lodash.times(limit, function(n) { result.push(n); })'
|
||||||
)
|
)
|
||||||
.add(otherName, '\
|
.add(otherName, '\
|
||||||
var result = [];\
|
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`')
|
Benchmark.Suite('`_.times` with `thisArg`')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
var result = [];\
|
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, '\
|
.add(otherName, '\
|
||||||
var result = [];\
|
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