結果 : javascript create an array with n elements