This pattern is so common and most JS engines do so many optimizations behind the scene, that it would really surprise me if this is not already handled .
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re^2: OT: Converting some js to Perl
by LanX
in thread OT: Converting some js to Perl
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |