🌈 搜索
📅  最后修改于: 2022-03-11 14:57:04.954000             🧑  作者: Mango
var obj ={ name: "hery" ,age =14}; for(var p in obj){ if(obj.hasOwnProperty(p){ console.log(p +"->"+ p[key]); } }