(e: number)
| 159 | } |
| 160 | |
| 161 | function randomNumString(e: number) { |
| 162 | e = e || 32 |
| 163 | let t = '0123456789', a = t.length, n = "" |
| 164 | for (let i = 0; i < e; i++) |
| 165 | n += t.charAt(Math.floor(Math.random() * a)) |
| 166 | return n |
| 167 | } |
| 168 | |
| 169 | function randomWord(n: number = 1) { |
| 170 | let t = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', a = t.length |