Code to go logo
Created using Figma
Use Cases
Contribute
How to decrement a variable in JavaScript
Numbers
By Jad Joubran ·
Last updated Nov 11, 2017
let limit = 10; limit--;
9
Nov 11, 2017
1
Jad Joubran
See answer
1
Jad Joubran
Arithmetic operators
on MDN
Learn JavaScript step by step
Related use cases
How to increment a variable in JavaScript