add value of two input js code example Example: how to add 2 numbers together in javascript var x = +y + +z;