javascript function subtract code example Example: modulus js console.log(10%3); //returns 1 (the remainder of 10/3)