min - max

function genRandomNumber(min, max) {
	return Math.floor(Math.random() * (min - max + 1)) + min;
}

const MIN_NUMBER = 1;
const MAX_NUMBER = 45;

genRandomNumber(MIN_NUMBER, MAX_NUMBER);
function isAdult(age) {
	return age > MAX_OUT_AGE? true : false
}

const MAX_OUT_AGE = 20;

begin - end

function reservationDate(beginDate, endDate) {
 //...
}

reservationDate("YYYY-MM-DD", "YYYY-MM-DD");

first - last

const user = ["Jon", "Mike", "Jane", "Coco"];

function getUser(first, last) {
 return user.split(fitst, last);
}

getUser("Jon","Jane")