diff --git a/lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js b/lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js index 2dc8ff4d01b3..f728138a8afa 100644 --- a/lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js +++ b/lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js @@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements mapBy2( x.length, x, 1, y, 1, z, 1, add, accessor ); t.deepEqual( z, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + // Create a sparse array: + x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ]; z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; diff --git a/lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js b/lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js index 3aa32c2a7c03..0b4290d8686a 100644 --- a/lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js @@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements mapBy2( x.length, x, 1, 0, y, 1, 0, z, 1, 0, add, accessor ); t.deepEqual( z, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + // Create a sparse array: + x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ]; z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];