0

Please find below.

enter image description here

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

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

why are you parsing twice ?, he can just stringify once andsee it as a string , would you please consider adding that to your answer ?
Yes, we can do that, but it is a bit ugly and hard to look at if the Object is huge, I'll add that to the answer anyway :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.