What will be the output of the following code?
console.log(Math.floor(Math.random() * 10) + 1);
An error
A random number between 1 and 10
A random number between 0 and 10
A random number between 0 and 1