javascript - What does the ++ sign mean in programming code? -


what ++ sign mean in code:

for (var i=0; < mystring.length; i++) {     alert(mystring[i]); }  while (x>y) {     alert ("xrules!");     y++; } 

++ increment operator

saying

y++ 

is same thing saying

y = y + 1 

Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -