結果 : create object out of array javascript