From 21fa8cdb780ee1b11364ad1ef7d45c99f4c01372 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Fri, 8 Mar 2024 16:19:40 +0100 Subject: [PATCH] r0b08x [chore] 3/8/2024, 4:19:40 PM --- src/core/clone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/clone.js b/src/core/clone.js index dad9c8b..7edc3e8 100644 --- a/src/core/clone.js +++ b/src/core/clone.js @@ -6,7 +6,7 @@ function customizer(value) { if (isObject(value)) { // Remove keys that start with '$' return transform(value, (result, val, key) => { - if (!key.startsWith('$')) { + if (key !== '$$hashKey') { result[key] = val; } });