I tried creating a function, but then I want the final output to be stored in another variable outside the function. Any help, please!
var randomNumber = next