js code to generate random numbers between 5 and 6 code example Example: javascript random number between Math.floor(Math.random() * 6) + 1