---
id: 5d792535591db67ee15b4106
title: Part 45
challengeType: 0
isHidden: true
---
## Description
Use the ternary operator to return `[]` if `start > end` and `[start].concat([end])` otherwise.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(JSON.stringify(range(3, 2)) === "[]" && JSON.stringify(range(1, 3)) === "[1,3]");
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution