--- id: 5d79253939434a2724c0ec41 title: Part 131 challengeType: 0 isHidden: true --- ## Description
Now define two variable: `length` which is `sorted.length` and `middle` which is `length / 2 - 1`.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(/constmedian=nums=>\{constsorted=nums\.slice\(\)\.sort\(\((.+),(.+)\)=>\1-\2\);?constlength=sorted\.length;?constmiddle=length\/2-1/.test(code.replace(/\s/g, ""))); ```
## Challenge Seed
```html ```
### Before Test
```html Spreadsheet
```
### After Test
```html ```
## Solution
```html ```