value:


writable:
  • 属性的value是否可写
  • default值:false

  • for…in 用来显示可枚举的属性

configurable:
  • whether the property can be deleted from the object and whether its attributes (other than value and writable) can be changed.
    • 属性可删除和修改
  • default:false


8.property descriptor

2019-02-17 16:02:29 0 26
这里是评论

相关推荐