How To Convert Object Into Array In Typescript Documentation W3schools