結果 : how to loop through object typescript