We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c1a8f commit 674526cCopy full SHA for 674526c
lib/node_modules/@stdlib/assert/is-configurable-property-in/benchmark/benchmark.js
@@ -22,6 +22,7 @@
22
23
var bench = require( '@stdlib/bench' );
24
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
25
+var zeros = require( '@stdlib/array/base/zeros' );
26
var pkg = require( './../package.json' ).name;
27
var isConfigurablePropertyIn = require( './../lib' );
28
@@ -33,7 +34,7 @@ bench( pkg, function benchmark( b ) {
33
34
var arr;
35
var i;
36
- arr = new Array( 100 );
37
+ arr = zeros( 100 );
38
39
b.tic();
40
for ( i = 0; i < b.iterations; i++ ) {
0 commit comments