結果 : create new array based on another array javascript