diff --git a/lib/node_modules/@stdlib/math/strided/special/asinh-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/asinh-by/test/test.main.js index 25c53bc69db9..9434e4d861d5 100644 --- a/lib/node_modules/@stdlib/math/strided/special/asinh-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/asinh-by/test/test.main.js @@ -74,7 +74,10 @@ tape( 'the function computes the hyperbolic arcsine via a callback function', fu asinhBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; + for ( i = 0; i < 5; i++ ) { + x.push( void 0 ); + } y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -82,7 +85,10 @@ tape( 'the function computes the hyperbolic arcsine via a callback function', fu asinhBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; + for ( i = 0; i < 5; i++ ) { + x.push( void 0 ); + } x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];