結果 : create array of length n javascript