--- id: 5d7925374321824cba309875 title: Step 98 challengeType: 0 dashedName: step-98 --- # --description-- Change the `random` function so that it returns `Math.floor(Math.random() * y + x)`. It now returns a random number within a range. # --hints-- See description above for instructions. ```js assert( /["']?random["']?:\(\[x,y\]\)=>Math\.floor\(Math\.random\(\)\*y\+x\)/.test( code.replace(/\s/g, '') ) && spreadsheetFunctions['random']([1, 1]) === 1 ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```