Array Of Class Objects Typescript Map Function In Python W3schools