Re:5 Things They Told You Not To Use In JavaScript
by bmuon on Tuesday April 24, 2012 @11:26PM
(#3887546)
I actually ran into code once that had a variable named "position" (totally common name) and then used "with" on a node's style property to set another style based on the value of this "position" variable. Instant bug. It took me a while to figure out what was going on.
[ Parent
| on HN ]
There are no comments on this comment yet.