r/learnjavascript • u/grave4us • Apr 10 '26
Increment/decrement trouble
I don't quite understand how increment and decrement operators work—specifically, under what conditions switching between postfix and prefix forms alters or returns the value, and in which cases they behave identically.
(im using the google translator, if anything is unclear, please ask for clarification.) Thank you!
5
Upvotes
View all comments
Show parent comment
2
u/flash42 Apr 10 '26
And C# is really just C₊⁺₊⁺