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

Smartphone icons created by Freepik - Flaticon

JavaScript Arithmetic

The -- Operator

let x = 5;
x--;
let z = x;
document.getElementById("demo").innerHTML = z;