---
id: 5d792539de4b9ac14dd40409
title: Part 122
challengeType: 0
isHidden: true
---
## Description
Use the ternary operator in `nodups` to return `a` if `a.includes(x)` and `a.concat(x)` otherwise.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(JSON.stringify(spreadsheetFunctions.nodups([1,3,1,5,7,7,9,7])) === "[1,3,5,7,9]");
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution