How override eval function in javascript?

Posted by ko1ik on Stack Overflow See other posts from Stack Overflow or by ko1ik
Published on 2010-04-02T13:52:01Z Indexed on 2010/04/02 13:53 UTC
Read the original article Hit count: 251

Filed under:
|
|

For example:

(function() {
      var proxied = window.eval;
      window.eval = (function() {
        return proxied.apply(this, arguments);
      });
    })();

But this code is not working.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about eval