random

🔍 Prototype

global.random(from, to)

📝 Paramètres

Paramètre
Type
Description
  • from

  • to

  • int

  • Générer un nombre aléatoire entre from et to.

🔙 Retour

Type
Description
  • int

  • Le nombre aléatoire généré.

Dernière mise à jour