diff --git a/lib/node_modules/@stdlib/math/strided/special/bessely1-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/bessely1-by/test/test.main.js index 8f2bad7b1a92..07b16e3395be 100644 --- a/lib/node_modules/@stdlib/math/strided/special/bessely1-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/bessely1-by/test/test.main.js @@ -74,7 +74,8 @@ tape( 'the function computes the Bessel function of the second kind of order one bessely1By( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; + x.length = 5; // sparse array y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -82,7 +83,8 @@ tape( 'the function computes the Bessel function of the second kind of order one bessely1By( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; + x.length = 5; // sparse array x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];