From 692eb7162d1969eecc933722c1836ea5d09626cb Mon Sep 17 00:00:00 2001 From: wqliang <2462792@qq.com> Date: Thu, 4 Feb 2021 11:43:10 +0800 Subject: [PATCH] =?UTF-8?q?#212=20FIX=209.3=20Object.defineProperty,?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E5=90=8Do=E5=BA=94=E8=AF=A5=E6=98=AFobj?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/stdlib/attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/stdlib/attributes.md b/docs/stdlib/attributes.md index 1440a67..f1f3af6 100644 --- a/docs/stdlib/attributes.md +++ b/docs/stdlib/attributes.md @@ -635,7 +635,7 @@ Object.getOwnPropertyDescriptor(obj, 'p') // configurable: false // } -Object.defineProperty(o, 'p', { +Object.defineProperty(obj, 'p', { enumerable: false }) // TypeError: Cannot redefine property: p