Re:Get any a-Z char using only []()+{}/. in JavaScript (for ...
by aston on Friday February 26, 2010 @03:24PM
(#1154022)
Here's the breakdown:
is the same in javascript as
The part in parentheses calls Array.sort with an undefined this object, defaulting it to window. Array.sort returns this after it's done. Global functions like eval are stored on window, so you end up with window.eval.
[ Parent
| on HN ]