結果 : how to create a new array of objects in javascript