What Javascript is not safe in a open-ended script?(stackoverflow.com)
stackoverflow.com
What Javascript is not safe in a open-ended script?
http://stackoverflow.com/q/10826186/744249
2 comments
window[['t', 'r', 'e', 'l', 'a'].reverse().join('')]("blah");
alert("blah")
can just as easily be made to be
window["alert"]("blah"), where the string 'alert' could be made by a very convoluted manner. Solving this would be akin to solving the halting problem, no?