The formula is Array(n+1).join("a") . When n=0, this returns the empty string, and when n=1, it returns "a" . So I think it works in all cases.
確定! 回上一頁