Sollicitatievraag bij EPAM Systems

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