Answers for "javascript get dictionary values"

2

javascript get dictionary values

const object1 = {
  a: 'somestring',
  b: 42,
  c: false
};

console.log(Object.values(object1));
// expected output: Array ["somestring", 42, false]
Posted by: Guest on October-28-2020

Code answers related to "javascript get dictionary values"

Code answers related to "Javascript"

Browse Popular Code Answers by Language