javascript add 2 numbers in loop code example Example: how to add 2 numbers together in javascript var x = +y + +z;