locked
console.log vs $.ajaxSetup and internet explorer RRS feed

  • Question

  • User1080785583 posted

    I am curious which one is worse and why these aren't part of a framework. What I mean, is when I write code I tend to use alert, console.log to debug values I use in my SPA. When I publish this, the framework should take care of deleting my console.logs as well as setup all requests to not be cached. Reason be is most SPA are heavy reliant on javascript derived frameworks and I feel this should be part of it because it burns me often.

    Suggestions/Comments?

    Friday, February 20, 2015 12:02 PM

Answers

  • User1711366110 posted

    hi xequence,
      As per your case, the following links which may give you some ideas to fix this issue.

    1. Click here to know more about lot of ways to remove the console.log statement

    2. Click here to get some tip about the disable console.log

    --
    with regards,
    Edwin

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 23, 2015 4:28 AM

All replies