Domanda di colloquio di iProgrammer

I was asked to convert an object into an Array