How can I get the id of an object?
In this example I want to get the 'ok' and store it in a variable. I know how to access the data.I need to access the id and store it for some purpose.
I use Angular so the console log is like this 'console.log (this.Data');'
{ok: Array(2)}
ok: Array(2)
.
.
.