var randomNum = _.random(1, 10); console.log(randomNum); // Output: a random number between 1 and 10
var myArray = [1, 2, 3, 4, 5]; var shuffledArray = _.shuffle(myArray); console.log(shuffledArray); // Output: [3, 2, 5, 1, 4] (a randomly shuffled version of myArray)The `_.random` function is part of the Underscore library.