📅  最后修改于: 2022-03-11 15:04:19.985000             🧑  作者: Mango
// an easy way is to
const obj = {1: 'a', 2: 'b', 3: 'c',};
for (const i in obj)
console.log(obj[i]);
//it is a simple way to loop on values of an object