🌈 搜索
📅  最后修改于: 2022-03-11 15:03:12.008000             🧑  作者: Mango
var myObj = {foo: "bar", baz: "baz"}; Object.values(myObj).map((val) => { console.log(val); }) // "bar" "baz"