結果 : how to print object in javascript using for loop