結果 : take part of an array javascript