---
id: cf1111c1c11feddfaeb6bdef
title: Divide One Number by Another with JavaScript
challengeType: 1
videoUrl: https://scrimba.com/c/cqkbdAr
forumTopicId: 17566
localeTitle: Разделите одно число другим с помощью JavaScript
---
## Description
Мы также можем разделить одно число на другое. JavaScript использует символ / для деления.
пример
myVar = 16/2; // присвоено 8
## Instructions
Измените значение 0 так, чтобы quotient был равен 2 .
## Tests
```yml
tests:
- text: Make the variable quotient equal to 2.
testString: assert(quotient === 2);
- text: Use the / operator
testString: assert(/\d+\s*\/\s*\d+/.test(code));
```
## Challenge Seed