---
id: 5d7925381e8565a5c50ba7f1
title: Step 099
challengeType: 0
isBeta: true
---
## Description
In functional programming, we strive to use a type of function called "pure functions" as much as possible.
The first property of pure functions is that they always return the same value for the same arguments.
You can check if this is the case by comparing a call to a function with another call (with the same arguments):
```js
console.log(f(2) === f(2)); // always true for pure functions
```
Use this technique to check if the `random` function in `spreadsheetFunctions` is pure by passing in the following array: `[1, 1000]`.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(/(spreadsheetFunctions\[["']random["']\]\(1,1000\))===\1/.test(code.replace(/\s/g, "")));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution