JavaScript Object Reference
JavaScript: Difference Between Object.isExtensible vs Reflect.isExtensible
By Xah Lee. Date:
2022-09-01
.
If argument is not a object,
Object.isExtensible
return
false
If argument is not a object,
Reflect.isExtensible
throw error.
JavaScript Prevent Change Property
Prevent Adding Property
Object.preventExtensions
ð
Reflect.preventExtensions
Object.isExtensible vs Reflect.isExtensible
Object.isExtensible
ð
Reflect.isExtensible
Object.seal
Object.isSealed
Object.freeze
Object.isFrozen
BUY
ΣJS
JavaScript in Depth
Search ð
HTML
CSS
JS
JS Ref
DOM
SVG
JS Obj Reference
Reflect
get
set
has
defineProperty
deleteProperty
getOwnPropertyDescriptor
ownKeys
getPrototypeOf
setPrototypeOf
isExtensible
preventExtensions
apply
construct