freeCodeCamp/guide/russian/javascript/tutorials/add-two-numbers-with-javasc.../index.md

9 lines
352 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Add Two Numbers with JavaScript
localeTitle: Добавить два номера с JavaScript
---
JavaScript использует символ `+` для добавления. Его также можно использовать вместо `parseInt()` но это выходит за рамки этого.
```
var sum = 10 + 10;
```