How to get Proxy object content?
To print the Proxy Object use:
JSON.stringify(this.accounts)
To actually use it on some functions use this:
let accounts = JSON.parse(JSON.stringify(this.accounts))
console.log(accounts.name)
To get the available keys, you can use Object.key
& .data
on the Proxy object.
In your case, you can get the keys with this way :
console.log(Object.keys(this.accounts.data[0]));