All about increment and decrement please!! | Sololearn: Learn to code for FREE!

-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)

11/30/2021 3:40:45 PM

Jhon Daniel Campos Palingkod

4 Answers

New Answer

+4

Revisit JS tutorial section. I tried to post link here but it's bugged for some reason.

+3

Maybe you would like to check out this one? https://www.sololearn.com/learn/JavaScript/1130/?ref=app

+2

let coins = 5; coins++; //Now coins=6 (increment) coins--; //Now coins=5 again (decrement) google is your friend btw

0

ein siedler thank you 😊 Artur btw thanks too