Skip to content

Commit 674526c

Browse files
anoofmhdkgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: stdlib-js#8886 Closes: stdlib-js#8876 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent c5c1a8f commit 674526c

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/assert/is-configurable-property-in/benchmark

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/assert/is-configurable-property-in/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
25+
var zeros = require( '@stdlib/array/base/zeros' );
2526
var pkg = require( './../package.json' ).name;
2627
var isConfigurablePropertyIn = require( './../lib' );
2728

@@ -33,7 +34,7 @@ bench( pkg, function benchmark( b ) {
3334
var arr;
3435
var i;
3536

36-
arr = new Array( 100 );
37+
arr = zeros( 100 );
3738

3839
b.tic();
3940
for ( i = 0; i < b.iterations; i++ ) {

0 commit comments

Comments
 (0)