Skip to content

Commit ecb3eac

Browse files
committed
chore: fix JavaScript lint errors (issue #10084)
resolves #10084
1 parent 78212b6 commit ecb3eac

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/math/strided/special/asinh-by/test

lib/node_modules/@stdlib/math/strided/special/asinh-by/test/test.main.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,21 @@ tape( 'the function computes the hyperbolic arcsine via a callback function', fu
7474
asinhBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77-
x = new Array( 5 ); // sparse array
77+
x = [];
78+
for ( i = 0; i < 5; i++ ) {
79+
x.push( void 0 );
80+
}
7881
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7982

8083
expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8184

8285
asinhBy( x.length, x, 1, y, 1, accessor );
8386
t.deepEqual( y, expected, 'deep equal' );
8487

85-
x = new Array( 5 ); // sparse array
88+
x = [];
89+
for ( i = 0; i < 5; i++ ) {
90+
x.push( void 0 );
91+
}
8692
x[ 2 ] = rand();
8793
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8894

0 commit comments

Comments
 (0)