I'm developing a React application where I need to convert a key-value object like this:
{
  0: 'John',
  1: 'Tim',
  2: 'Matt'
};
To an array of just the values like this:
['John', 'Tim', 'Matt']
How do I accomplish this?
const obj = {
  0: 'John',
  1: 'Tim',
  2: 'Matt'
};
const arr = /* ??? */;
 
     
     
     
    