ES6—22:Object.defineProperty()方法
Others
2021-03-02 04:19:14
views: null
Basic parameters
Usage examples
- enumerable: true will make the set parameter can be traversed, otherwise it cannot be traversed
- configurable: true will make the attribute of this parameter cannot be deleted, the default is false
Origin blog.csdn.net/sinat_41696687/article/details/113879393