---
id: 5d7925374321824cba309875
title: Part 98
challengeType: 0
isHidden: true
---
## Description
Change the `random` function so that it returns `Math.floor(Math.random() * y + x)`. It now returns a random number within a range.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(/["']?random["']?:\(\[x,y\]\)=>Math\.floor\(Math\.random\(\)\*y\+x\)/.test(code.replace(/\s/g, "")) && spreadsheetFunctions["random"]([1, 1]) === 1);
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution