letter
// 使い方
randBox.letter()
randBox.letter({ casing: 'lower' })ランダムな文字を返します。
randBox.letter();
=> 'p'デフォルトでは、ランダムな小文字を返します。
注意,原本想将这个オプション命名为 case 而不是 casing,但不幸的是これは JavaScript において switch 文の予約語です
大文字を指定できます
randBox.letter({casing: 'upper'});
=> 'A'最終更新日: