Typescript Loop On Object In Javascript Programiz