Outils pour utilisateurs

Outils du site


informatique:firefox

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
informatique:firefox [2022/02/23 12:19] – [Configuration] alexisinformatique:firefox [2022/02/23 12:27] – [Configuration] alexis
Ligne 329: Ligne 329:
         return Math.floor(Math.random() * 10);         return Math.floor(Math.random() * 10);
     }     }
-    let char = () => { +    let char = (chars = 'ABCEGHJKLMNPRSTVWXYZ') => { 
-        return 'ABCEGHJKLMNPRSTVWXYZ'[Math.floor(Math.random() * 20)];+        return chars[Math.floor(Math.random() * chars.length)];
     }     }
  
-    return `${char()}${digit()}${char()} ${digit()}${char()}${digit()}`;+    return `${char('ABCEGHJKLMNPRSTVXY')}${digit()}${char()} ${digit()}${char()}${digit()}`;
 }; };
  
informatique/firefox.txt · Dernière modification : 2024/04/11 15:06 de alexis