Random function

Report a typo

Write the randomInt function that will return an integer between the minimum and the maximum value.

randomInt(10, 15) // 11
randomInt(10, 15) // 13
randomInt(10, 15) // 15
Write a program in JavaScript
function randomInt(min, max){
// write your code here

}
___

Create a free account to access the full topic