DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
postfix and prefix increment
++x = x is now 2 x++ = x is now 3 but the showed value remains 2 x = is 3 x = 2 + (2 * 3) x = 8
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#postfix
#prefix
#increment
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit