diff --git a/lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js b/lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js index 802e3583c916..dfe81e457fa5 100644 --- a/lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js +++ b/lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js @@ -262,7 +262,7 @@ function deepCopy( val, copy, cache, refs, level ) { continue; } // Plain array or object... - ref = ( isArray( x ) ) ? new Array( x.length ) : {}; + ref = ( isArray( x ) ) ? new Array( x.length ) : {}; // eslint-disable-line stdlib/no-new-array cache.push( x ); refs.push( ref ); if ( parent === 'array' ) { diff --git a/lib/node_modules/@stdlib/utils/copy/lib/main.js b/lib/node_modules/@stdlib/utils/copy/lib/main.js index 9719dd6402cc..0b9dfa9582f8 100644 --- a/lib/node_modules/@stdlib/utils/copy/lib/main.js +++ b/lib/node_modules/@stdlib/utils/copy/lib/main.js @@ -67,7 +67,7 @@ function copy( value, level ) { } else { level = PINF; } - out = ( isArray( value ) ) ? new Array( value.length ) : {}; + out = ( isArray( value ) ) ? new Array( value.length ) : {}; // eslint-disable-line stdlib/no-new-array return deepCopy( value, out, [value], [out], level ); }