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