Mega Code Archive

 
Categories / JavaScript DHTML / Language Basics
 

Postfix operator for integer

<html> <head> <title></title> </head> <body> <script type="text/javascript"> var theNum = 1; document.write(theNum+"<BR>"); document.write(theNum++); </script> </body> </html>