Here’s an oldie but a goodie: remember the with statement? This oddball did some sort of scope magic that lets you treat it as the object normally referenced through “this” in your code block. It looks like it’s still in ECMAScript, 4th Edition.
But has anybody put with to good use anymore? In AS3, it doesn’t seem that important. In fact, the examples provided in the language reference (on the page I linked to above) seem to be from an AS2 description of the with statement.
Does using it nowadays just obfuscate your code? It seems like with’s become a has-been.