📅  最后修改于: 2022-03-11 15:03:32.753000             🧑  作者: Mango
代码示例2
var obj = {v1: 'v1', v2: 'v2'};
// extract object's values as array
var valuesArray = Object.values(obj); // ['v1','v2']