Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Still I get "Uncaught RangeError: Maximum call stack size exceeded." error. :/ Commented Feb 22, 2016 at 7:42
  • RaraituL's solution works! You are probably setting up your call redirection more than once. Read my answer too. Commented Feb 22, 2016 at 7:52
  • Yes, I did this, but the error happens at the point where I've used console.log(displaySomeDataInConsole); in the .js file. Commented Feb 22, 2016 at 8:46
  • Should I use _log(displaySomeDataInConsole); in the .js file? Commented Feb 22, 2016 at 8:49
  • Got it! I have used some other console.log() messages in the same .js file where I have over-rided the console.log() method, thus causing recursive call. But, if I need to display something in the console from the same .js file(where over-riding is done), how can I do it? Commented Feb 22, 2016 at 9:03