Iterate Object values by using for...in and for...of loops.
Object.values():
By using this method we can extract the values of an Object and returns all the values as an array.
Object.keys():
By using this method we can extract the keys of an Object and returns all the keys as an array.