From ecb3eac578ce79cecacbdad2e015ed77df5226a8 Mon Sep 17 00:00:00 2001 From: Kayd-06 Date: Thu, 5 Feb 2026 14:32:19 +0530 Subject: [PATCH] chore: fix JavaScript lint errors (issue #10084) resolves #10084 --- .../math/strided/special/asinh-by/test/test.main.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 ];