---
id: 5d792539dd4fd4c96fd85f7e
title: Part 117
challengeType: 0
isBeta: true
---
## Description
The `%` operator returns the remainder:
```js
4 % 3; // 1
5 % 3; // 2
6 % 3; // 0
```
Add an `isEven` function (to the global scope) which returns whether the number passed to it is even.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(isEven(20) && !isEven(31));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution