📜  javascript 获取字典值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:50.945000             🧑  作者: Mango

代码示例1
const object1 = {
  a: 'somestring',
  b: 42,
  c: false
};

console.log(Object.values(object1));
// expected output: Array ["somestring", 42, false]