Object 方法

  1. Object.assign()
  2. Object.create()
  3. Object.defineProperties()
  4. Object.defineProperty()
  5. Object.entries()
  6. Object.freeze()
  7. Object.fromEntries()
  8. Object.getOwnPropertyDescriptor()
  9. Object.getOwnPropertyDescriptors()
  10. Object.getOwnPropertyNames()
  11. Object.getOwnPropertySymbols()
  12. Object.getPrototypeOf()
  13. Object.groupBy()
  14. Object.hasOwn()
  15. Object.is()
  16. Object.isExtensible()
  17. Object.isFrozen()
  18. Object.isSealed()
  19. Object.keys()
  20. Object.preventExtensions()
  21. Object.seal()
  22. Object.setPrototypeOf()
  23. Object.values()

原型上的方法:

  1. Object.prototype.propertyIsEnumerable()
  2. Object.prototype.isPrototypeOf()
  3. Object.prototype.hasOwnProperty()
  4. Object.prototype.toLocaleString()
  5. Object.prototype.toString()
  6. Object.prototype.valueOf()
posted @ 2023-10-29 13:36  辰梦starDream  阅读(5)  评论(0编辑  收藏  举报  来源