js取对象的属性值循环 var data = {name: "liuyang", job: "web", age: "27"} Object.keys(data).forEach(key => { // to do something })