Pregunta de entrevista de EPAM Systems

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