Files
freeCodeCamp/guide/russian/javascript/tutorials/increment-a-number-with-javascript/index.md
2018-10-16 21:32:40 +05:30

15 lines
499 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Increment a Number with JavaScript
localeTitle: Увеличение номера с помощью JavaScript
---
Вы можете легко увеличить или добавить `1` к переменной с помощью оператора `++` .
```
i++;
```
является эквивалентом
```
i = i + 1;
```
**Примечание** . Вся строка становится `i++;` , устраняя необходимость равенства знака.