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