Chrome Developer Tools Invoke Property Getter

后端 未结 3 1221
旧巷少年郎
旧巷少年郎 2021-02-05 07:38

All of my property values require me to click them in order to see them. How can I fix this?

The object I\'m trying to view is this Query Object. It seems to

3条回答
  •  感动是毒
    2021-02-05 08:33

    You can try putting it through JSON stringify which will call all the getters:

    console.log(JSON.parse(JSON.stringify(myObj)));

提交回复
热议问题