I am working on a project with Angular 2.
In one of my scenario I get the Array from the API call.
Array is like : [{'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}, {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}, {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}]
Using this Array I want to create the table like
key1 key2 key3
value1 value2 value3
value1 value2 value3
value1 value2 value3
So, my question is how do I get the key and the value from the array
Is there any forEach loop?