React Typescript Loop Through Object In Javascript Syntax Practice