Every time you click the button, getRndInteger(1, 10) returns a random number between 1 and 10 (both included):