how to subract numbers in javascript code example Example: modulus js console.log(10%3); //returns 1 (the remainder of 10/3)