对象的方法


属性操作:

assign()

defineProperties()

defineProperty()

提取

entries()

keys()

values()

属性获取

getOwnPropertyDescriptor()

getOwnPropertyDescriptors()

getOwnPropertyNames()

getOwnPropertySymbols()

整体操作

create()

freeze()

fromEntries()

preventExtensions()

seal()

判断

is()

isExtensible()

isFrozen()

isSealed()

prototype.isPrototypeOf()

instanceof 运算符用于检测构造函数的 prototype 属性是否出现在某个实例对象的原型链上。

原型操作

setPrototyupeOf()