Convert object to array

JavaScript TIP: Convert object to array

const obj = { 0: 'Frontend', 1: 'Snips' };
const arr = Object.keys(obj).map(key => obj[key]);
console.log(arr);
🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses