var data = {name: "liuyang", job: "web", age: "27"} Object.keys(data).forEach(key => { // to do something })