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;