how to see if two numbers add up in javascript code example Example: add two numbers javascript var x = 2 + 3; //x = 5