How to decrement a variable in JavaScript

Numbers
By Jad Joubran · 
Last updated Feb 27, 2024
let limit = 10;
limit--;
console.log(limit);
9