Home / Advanced JavaScript Tutorials / Variable and expression shortcuts |
|
CodingForums Jump to... |
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://www.javascriptkit.com |