Create New Array Object Typescript Interview