---
id: 5d792539a222f385c5c17d2b
title: Part 127
challengeType: 0
isHidden: true
---
## Description
Now define a `median` function which takes an argument `nums` (in the global scope).
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(/constmedian=\(?nums\)?=>/.test(code.replace(/\s/g, "")));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution