bkp
This commit is contained in:
parent
f30428ce4d
commit
1968877db8
63 changed files with 6 additions and 12 deletions
2
dist-import/aleatorio.js
Normal file
2
dist-import/aleatorio.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
const alfabeto = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");
|
||||
export const aleatorio = (tamanho) => Array.from({ length: tamanho || 8 }, () => `ale-${alfabeto[Math.floor(Math.random() * 1000) % alfabeto.length]}`).join("");
|
||||
Loading…
Add table
Add a link
Reference in a new issue