結果 : create a new array of objects from existing array javascript