function rand(min, max) {return Math.round(Math.random() * (max - min) + min);} if (rand(1, 10) === 1) {