Skip to content

Commit dc2ab17

Browse files
Bingtagui404kgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: #11015 Closes: #11014 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 4f32811 commit dc2ab17

File tree

2 files changed

+3
-1
lines changed
  • lib/node_modules/@stdlib

2 files changed

+3
-1
lines changed

lib/node_modules/@stdlib/assert/is-biguint64array/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ bool = isBigUint64Array( new Float32Array( 10 ) );
7474
console.error( bool );
7575
// => false
7676

77-
bool = isBigUint64Array( new Array( 10 ) );
77+
bool = isBigUint64Array( [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] );
7878
console.error( bool );
7979
// => false
8080

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ tape( 'the function computes the inverse coversed sine via a callback function',
7474
acoversinBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77+
// eslint-disable-next-line stdlib/no-new-array
7778
x = new Array( 5 ); // sparse array
7879
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7980

@@ -82,6 +83,7 @@ tape( 'the function computes the inverse coversed sine via a callback function',
8283
acoversinBy( x.length, x, 1, y, 1, accessor );
8384
t.deepEqual( y, expected, 'deep equal' );
8485

86+
// eslint-disable-next-line stdlib/no-new-array
8587
x = new Array( 5 ); // sparse array
8688
x[ 2 ] = rand();
8789
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

0 commit comments

Comments
 (0)