diff --git a/lib/node_modules/@stdlib/_tools/lint/header-filenames/lib/index.js b/lib/node_modules/@stdlib/_tools/lint/header-filenames/lib/index.js index b46219ed849e..a4ec78523b34 100644 --- a/lib/node_modules/@stdlib/_tools/lint/header-filenames/lib/index.js +++ b/lib/node_modules/@stdlib/_tools/lint/header-filenames/lib/index.js @@ -39,7 +39,7 @@ * var lint = require( '@stdlib/_tools/lint/header-filenames' ); * * var errs = lint.sync(); -* // returns [...] +* // returns [] */ // MODULES // diff --git a/lib/node_modules/@stdlib/assert/tools/array-like-function/examples/index.js b/lib/node_modules/@stdlib/assert/tools/array-like-function/examples/index.js index b3bc2d89f8d7..71aa34999dd4 100644 --- a/lib/node_modules/@stdlib/assert/tools/array-like-function/examples/index.js +++ b/lib/node_modules/@stdlib/assert/tools/array-like-function/examples/index.js @@ -27,14 +27,14 @@ var bool; var f; var i; -arr1 = new Array( 25 ); -for ( i = 0; i < arr1.length; i++ ) { - arr1[ i ] = i; +arr1 = []; +for (i = 0; i < 25; i++) { + arr1.push(i); } -arr2 = new Array( 25 ); -for ( i = 0; i < arr2.length; i++ ) { - arr2[ i ] = 2 * i; +arr2 = []; +for (i = 0; i < 25; i++) { + arr2.push(i); } f = arraylikefcn( isEven ); diff --git a/lib/node_modules/@stdlib/constants/float32/ninf/examples/index.js b/lib/node_modules/@stdlib/constants/float32/ninf/examples/index.js index 3c99460eeb50..083bfcb48d94 100644 --- a/lib/node_modules/@stdlib/constants/float32/ninf/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float32/ninf/examples/index.js @@ -21,4 +21,4 @@ var FLOAT32_NINF = require( './../lib' ); console.log( FLOAT32_NINF ); -// => -infinity +// => -Infinity diff --git a/lib/node_modules/@stdlib/math/strided/special/atan-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/atan-by/test/test.main.js index 7907d9455995..434c15763b69 100644 --- a/lib/node_modules/@stdlib/math/strided/special/atan-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/atan-by/test/test.main.js @@ -74,7 +74,8 @@ tape( 'the function computes the arctangent via a callback function', function t atanBy( 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 arctangent via a callback function', function t atanBy( 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 ];