5 2 javascript code example
Example 1: modulus js
console.log(10%3);
//returns 1 (the remainder of 10/3)
Example 2: JavaScript Operators
var x = 5; // assign the value 5 to x
var y = 2; // assign the value 2 to y
var z = x + y; // assign the value 7 to z (5 + 2)