JS-inclined folks, why does `var eval=eval; eval(something)` fail?
@espadrine More context is needed to answer your question, but maybe it’s http://ecma-international.org/ecma-262/5.1/#sec-12.2.1 …?
-
-
@mathias I wish… but this isn't in strict mode. -
@mathias Minimal bug: (function(){ var eval = eval; return eval("Error"); }()) Changing either eval in line 2 works as expected! - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.