Get the files from GitHub: https://github.com/colorfest/JavaScriptTutorial
In this video, we show you how to increment and decrement a number value in JavaScript.
Original source
Get the files from GitHub: https://github.com/colorfest/JavaScriptTutorial
In this video, we show you how to increment and decrement a number value in JavaScript.
Original source
4 responses to “JavaScript Tutorial – Part 8: Increment and Decrement”
thanks, very clear
what about +=, -=, *=, /=;
I'm doing Free Code Camp, and you did a MUCH better job at explaining this. I feel like the way they explain things and write them out kind of sucks. I know I'm a newbie and all, just saying yours way infinitely easier to understand.
Why haven't you talked about increment and decrement before the variable, like –x, and ++x ?