How To Convert Object Into Array In Typescript Interview 2023