結果 : how to print array of objects in javascript using for loop