Home / Advanced JavaScript Tutorials / Variable and expression shortcuts |
CodingForums Jump to...
- CSS Drive
- PHP Resources - Hotels & Vacations - Bad credit cards - JavaScript Menus |
If you write scripts that involve a lot of basic math operations (+-*/), you'll want to know the assignment operator shortcuts:
Using these operators, you can replace expressions like: x=x+y with simply x+=y Quite handy, wouldn't you say? -Tutorial introduction |
http://javascriptkit.com |