how to get keys of all the items in array in angular 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]);
}
}