I was following along an MDN article when I came across the following (more or less, with some minor modifications)
function random(min, max) { const num =