Practically every javascript guide on the web shouts to me that eval is bad, don’t use it, it’s a security hole and whatnot. Recently I discovered window.execScript, which seems to do the same thing as eval. Is one better than the other in terms of security or speed?
Share
window.execScriptis not crossing browsers, only IE supports it.