結果 : javascript create array of length n with values