how to make a object to an array code example
Example: how to convert object to array in javascript
const propertyValues = Object.values(person);
console.log(propertyValues);
const propertyValues = Object.values(person);
console.log(propertyValues);