From ea6f29c625154376e91d2b0eb9105f0b9f6fedfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E5=93=B2?= <1708834102@qq.com> Date: Thu, 25 Jul 2024 15:26:16 +0800 Subject: [PATCH] fix: fix a bugin 13_Reference --- 13_Reference/reference.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13_Reference/reference.js b/13_Reference/reference.js index 58db6cc..16f2dd6 100644 --- a/13_Reference/reference.js +++ b/13_Reference/reference.js @@ -21,7 +21,7 @@ let x = { }, }; -let y = JSON.parse(JSON.stringify(a)); +let y = JSON.parse(JSON.stringify(x)); y.obj.a = 2;