結果 : working with array of objects in javascript