Learn Functional Programming by Building a Spreadsheet - Step 102

Tell us what’s happening:

What on earth is this asking me to do? I have seen others complete this on youtube but the directions are much different than what I am looking at. I genuinely have no idea what this is asking me to accomplish.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

const spreadsheetFunctions = {
  sum,
  average,
  median,
  even: nums => nums.filter(isEven),
  someeven: nums => nums.some(isEven),
  everyeven: nums => nums.every(isEven),
  firsttwo: nums => nums.slice(0, 2),
  lasttwo: nums => nums.slice(-2),
  has2: nums => nums.includes(2),
  increment: nums => nums.map(num => num + 1),
  random: nums => Math.random() * 
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn Functional Programming by Building a Spreadsheet - Step 102

Just to be clear, here are the directions given,

Create a random property. This property should use the first two numbers from an array to generate a random whole number. The range for this number starts at the first number (inclusive) of the two and ends just before the sum of these two numbers. Use the Math.floor() and Math.random() methods for the calculation.

what part of the instructions is causing you issues? you are asked to creeate a function that returns a random integer in a range