摘要: 从 ES5 开始,所有的属性都具备了属性描述符 var myObject = { a: 2 } Object.getOwnPropertyDescriptor(myObject, 'a') // {value: 2, writable: true, enumerable: true, configu 阅读全文
posted @ 2020-03-23 06:45 wzndkj 阅读(174) 评论(0) 推荐(0) 编辑