Skip to content

Commit a33ca7e

Browse files
committed
linting bug fix
1 parent 6760298 commit a33ca7e

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/utils/object-inverse-by/examples

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function transform( key, value ) {
3333
}
3434

3535
// Create an array of random integers...
36-
arr = new Array( 1000 );
36+
const arr = Array.from({ length: 1000 });
3737
for ( i = 0; i < arr.length; i++ ) {
3838
arr[ i ] = round( randu()*100.0 );
3939
}

0 commit comments

Comments
 (0)