Closed ikarienator closed 9 years ago
Nope, it depends on the runtime value, which we cannot guarantee.
(function(){
(function(eval){
eval('var x = 0;');
}(eval));
return typeof x;
}());
So we are pessimistic, and assume all direct calls to a function named eval
are direct calls to eval.
We should test if the
eval
identifier is globally-scoped.