Loop Through Object Javascript Typescript Playground Online