Question d’entretien chez EPAM Systems

What are different methods to convert an object to an array in JavaScript?