HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

re: javascript newbie
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> Javascript
View previous topic :: View next topic  
Author Message
quartzy



Joined: 26 Dec 2007
Posts: 477

Posted: Mon Jan 12, 2009 3:03 am     re: javascript newbie  

I am self learning javascript and I cant unerstand how the foloowing.
Code: var a = 9; Value (9) I understand this
var b = 0; Value (0) understand this too
b = a; Value (9) and understand this
b = ++a; Value (11) dont understand how this became 11
b = a++; Value (12) dont understand how this became 12
b = a++; Value (13) dont understand how this became 13
Have been trying to get help in understanding these increments without fail so far, can anyone explain in simple terms why it is, what it is?
quartzy



Joined: 26 Dec 2007
Posts: 477

Posted: Mon Jan 12, 2009 6:26 am     re  

sorted
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> Javascript
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group