Logo
Explore Help
Sign In
gaspersic/freeCodeCamp
1
0
Fork 0
You've already forked freeCodeCamp
Code Issues Pull Requests Projects Releases Wiki Activity
Files
e23c80a021cca3836630dd290674d2e11ac44ec1
freeCodeCamp/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/decrement-a-number-with-javascript/index.md

18 lines
232 B
Markdown
Raw Normal View History

fix: change directory structure
2018-10-12 15:37:13 -04:00
---
title: Decrement a Number with JavaScript
---
fix(guide): restructure curriculum guide articles (#36501) * 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
2019-07-24 00:59:27 -07:00
# Decrement a Number with JavaScript
fix: change directory structure
2018-10-12 15:37:13 -04:00
fix(guide): restructure curriculum guide articles (#36501) * 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
2019-07-24 00:59:27 -07:00
---
## Hints
### Hint 1
fix: change directory structure
2018-10-12 15:37:13 -04:00
Decrement a number using the '--' operator:
fix(guide): restructure curriculum guide articles (#36501) * 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
2019-07-24 00:59:27 -07:00
```javascript
var a = 5;
a--; // Now, 'a' is 4
--a; // Now, 'a' is 3
```
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 638ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API