結果 : make array of length n javascript