This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JavaScript Arithmetic

Operator Precedence

When many operations has the same precedence, they are computed from left to right.

document.getElementById("demo").innerHTML = 100 / 50 * 3;