--- id: cf1111c1c11feddfaeb6bdef title: Divide One Number by Another with JavaScript challengeType: 1 videoUrl: 'https://scrimba.com/c/cqkbdAr' forumTopicId: 17566 --- ## Description
We can also divide one number by another. JavaScript uses the / symbol for division. Example ```js myVar = 16 / 2; // assigned 8 ```
## Instructions
Change the 0 so that the quotient is equal to 2.
## Tests
```yml tests: - text: The variable quotient should be equal to 2. testString: assert(quotient === 2); - text: You should use the / operator. testString: assert(/\d+\s*\/\s*\d+/.test(code)); ```
## Challenge Seed
```js var quotient = 66 / 0; ```
### After Test
```js (function(z){return 'quotient = '+z;})(quotient); ```
## Solution
```js var quotient = 66 / 33; ```