Division
suggest changeThe division operator (/) performs arithmetic division. 1 / 0 is Infinity, and 0 / 0 is NaN.
console.log(15 / 3); // 5
console.log(15 / 4); // 3.75
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents