User:Глупый Шут/global.js

function getRandom(min, max) {   var result = Math.floor(Math.random * (max - min + 1)) + min; if(result==1) {       document.getElementById("display").innerHTML=" 1 "; }   if(result==2) {       document.getElementById("display").innerHTML=" 2 "; }   if(result==3) {       document.getElementById("display").innerHTML=" 3 "; } } getRandom(1,3);