From a2903fc158c931a07919e950009df371119b7496 Mon Sep 17 00:00:00 2001 From: Fahim Abdullah <122386519+fahimlisl@users.noreply.github.com> Date: Sun, 22 Mar 2026 10:20:47 +0000 Subject: [PATCH] chore: fix JavaScript lint errors (issue #11082) --- lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..c0fe45232b89 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 ) ) ? [] : {}; cache.push( x ); refs.push( ref ); if ( parent === 'array' ) {