JS - Notes on Default Values for Each Configuration of Property Descriptors

Properties created by literals or obj.x = 1; and properties created by Object.defineProperty have different default values ​​of their property descriptors, the former are both true and the latter are false.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324893774&siteId=291194637