結果 : javascript array first n elements