var damage = Math.max(Math.floor(Math.random() * max)+1, min);
What is the meaning first Math.max and last ,min here. Please explain the whole line.
Math.max
,min
Aucun commentaire:
Enregistrer un commentaire