Write Your JavaScript Code Here

// Object.values() returns an array which contains the given object's own enumerable property values, in the same order as that provided by a for...in loop. // Object.values(obj) const object1 = { a: 'Rahul', b: 0, c:false }; console.log(Object.values(object1));

Output: