how to foreach object in ionic 3? because I get an error message like this “Object foreach is not a function”.
this my code,
let kursiss = {9C: "", 9D: "1"};
kursiss.forEach((key, value) => {
this.list_kursi_dipesan += value=="1"?key+',':'';
console.log(value+':-:'+key);
});