結果 : loop through multiple objects javascript