JSOperators

/

Division operator

See more on MDN

The division operator takes the left number and divides it by the right number, producing the quoient. The left number is the dividend and the right is the operand.

console.log(2 / 2); // 1
console.log(2 / "2"); // NaN