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

184 B

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;