From f9e44626c6c0af9309cce638b1ed396381e056a7 Mon Sep 17 00:00:00 2001 From: kuangthree Date: Sun, 7 Jan 2024 15:02:29 +0800 Subject: [PATCH] =?UTF-8?q?get.copy=E6=9E=84=E9=80=A0=E5=99=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/get/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/get/index.js b/noname/get/index.js index c41c21fda..1c74adaf7 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -828,7 +828,7 @@ export class Get extends Uninstantable { return target; } // @ts-ignore - else target = constructor ? new constructor() : Object.create(null); + else target = constructor ? new constructor(target) : Object.create(null); map.set(obj, target); if (obj instanceof Map) {