結果 : javascript first n items of array