結果 : javascript how to loop through array of objects