📅  最后修改于: 2022-03-11 15:01:33.662000             🧑  作者: Mango
//basic for in loop
const car = {
carName: "Ford",
carDoor: 4,
carSpeed: 180
}
for (objKey in car) {
console.log(car[objKey])
}
//output
Ford
4
180