結果 : for loop through array of objects javascript