結果 : how to use foreach for array of objects in javascript