Pergunta de entrevista da empresa EPAM Systems

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