結果 : how to use array of objects in javascript