eval ... everywhere?
Thursday, September 7, 2006 11:51:48 AM
is practically the same as doing
(Before you ask, the best practice would be to say either
document.body['tagName']Using eval should be avoided and generally can be avoided without problems. So don't let me catch you using any of the two first snippets on a production site!)
So hey Gecko, where did this come from? Is it something we should copy and implement or something we should scorn and point fingers at?