how to get key and value from json object in angular 6 code example
Example: get keys of an array angualr
for (let obj of arr) {
console.log("object:", obj);
for (let key in obj) {
console.log(" key:", key, "value:", obj[key]);
}
}