Search
 
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
Name
8+5 =