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

6 lines
184 B
Markdown

---
title: Add Two Numbers with JavaScript
---
JavaScript uses the `+` symbol for addition. It can also be used instead of `parseInt()` but that is beyond this.
var sum = 10 + 10;