I am getting a response from an API, and this is the response when I viewed it using console.log(myArray).
I need to write the code in TypeScript Angular 6.
Output:Array(2)
0:{ q1: 2
q2:. 1
__proto__: Object
}
1:{ q1: 2
q2:. 1
__proto__: Object
}
___proto__: Array(0)
__proto__:object
Now I need to get the values of q1 and q2 in array. I tried but I am unable to do it.
How can I do that?