mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-19 00:02:27 -05:00
* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
232 B
232 B
title
| title |
|---|
| Decrement a Number with JavaScript |
Decrement a Number with JavaScript
Hints
Hint 1
Decrement a number using the '--' operator:
var a = 5;
a--; // Now, 'a' is 4
--a; // Now, 'a' is 3