Nikita Gupta
Nikita Gupta

Reputation: 1

Cannot see proxy object while using Lightning Web Components

Please find below.

enter image description here

Let me know the procedure to show it as the proxy object in consoles

Upvotes: 0

Views: 812

Answers (1)

Prashant Kashyap
Prashant Kashyap

Reputation: 161

Proxies are easy to tackle,

Just stringify and parse the Object to show it on the console.

Use: console.log(JSON.parse(JSON.stringify(proxyobj)));

You could simply stringify it as well:

console.log(JSON.stringify(proxyobj));

But I would recommend to parse as well if the Object is huge.

Upvotes: 1

Related Questions