adding the results of two variables in js to get total amount code example Example: add two numbers javascript var x = 2 + 3; //x = 5