結果 : javascript create array based on another array