freeCodeCamp/guide/english/certifications/javascript-algorithms-and-d.../basic-javascript/add-two-numbers-with-javasc.../index.md

10 lines
303 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Add Two Numbers with JavaScript
---
# Add Two Numbers with JavaScript
JavaScript uses the `+` symbol for addition.
var sum = 10 + 10; //sum gets the value 20
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->