結果 : javascript array show first n elements