- 3

All about increment and decrement please!!

I need someone to explain to me what's the difference between decrement and increment and give me an example please(in real life)

30th Nov 2021, 3:40 PM
Jhon Daniel Campos Palingkod
Jhon Daniel Campos Palingkod - avatar
4 ответов
+ 4
Revisit JS tutorial section. I tried to post link here but it's bugged for some reason.
30th Nov 2021, 3:48 PM
Artur
Artur - avatar
+ 3
Maybe you would like to check out this one? https://www.sololearn.com/learn/JavaScript/1130/?ref=app
30th Nov 2021, 4:19 PM
Lisa
Lisa - avatar
+ 2
let coins = 5; coins++; //Now coins=6 (increment) coins--; //Now coins=5 again (decrement) google is your friend btw
30th Nov 2021, 3:46 PM
ein siedler
ein siedler - avatar
0
ein siedler thank you 😊 Artur btw thanks too
30th Nov 2021, 3:54 PM
Jhon Daniel Campos Palingkod
Jhon Daniel Campos Palingkod - avatar