Skip to content

Commit dd435f0

Browse files
sujal sunil chaudharysujal sunil chaudhary
authored andcommitted
fix js lint error in lib/node_modules/@stdlib/utils/some-by/examples/index.js
1 parent 1270286 commit dd435f0

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/utils/some-by/examples

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/utils/some-by/examples/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ var bool;
2929
var arr;
3030
var i;
3131

32-
arr = new Array( 100 );
33-
for ( i = 0; i < arr.length; i++ ) {
34-
arr[ i ] = randu();
32+
arr = [];
33+
for ( i = 0; i < 100; i++ ) {
34+
arr.push( randu() );
3535
}
3636

3737
bool = someBy( arr, 5, threshold );

0 commit comments

Comments
 (0)