diff --git a/lib/node_modules/@stdlib/assert/is-prime/benchmark/benchmark.js b/lib/node_modules/@stdlib/assert/is-prime/benchmark/benchmark.js index ae2235066353..0a221a57ebbe 100644 --- a/lib/node_modules/@stdlib/assert/is-prime/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/assert/is-prime/benchmark/benchmark.js @@ -16,7 +16,7 @@ * limitations under the License. */ -/* eslint-disable no-new-wrappers, no-empty-function */ +/* eslint-disable no-empty-function */ 'use strict'; diff --git a/lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.ndarray.js b/lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.ndarray.js index e2600a6bc74e..172aa6fff92d 100644 --- a/lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.ndarray.js @@ -76,8 +76,10 @@ tape( 'the function performs element-wise multiplication via a callback function mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor ); t.deepEqual( z, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array - y = new Array( 5 ); // sparse array + x = []; + x.length = 5; // sparse array + y = []; + y.length = 5; // sparse array z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -85,9 +87,11 @@ tape( 'the function performs element-wise multiplication via a callback function mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor ); t.deepEqual( z, expected, 'deep equal' ); - x = new Array( 5 ); // sparse array + x = []; + x.length = 5; // sparse array x[ 2 ] = rand(); - y = new Array( 5 ); // sparse array + y = []; + y.length = 5; // sparse array y[ 2 ] = rand(); z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];