39
coke
3y

My most used function:
console.log

Comments
  • 1
    While we all do this from time to time i recommend using Chromes debugger as it helps a lot.
  • 0
    I'm forcing my padawan to not use this....
    Bad experience in IE at customers side 😂
  • 0
    Yes, on the very first version, just to reassure it's working as and when expected, usually on otherwise empty functions.
    For everything else, browser debug is fine 😛
  • 0
    printf
  • 2
    @yugi
    If it's web, I usually do printf as hidden HTML elements, under one class "debug".
    It takes just one js function to toggle them all and shows the true horror behind the fancy webapp 😀
  • 2
    @nbamaral debug mode toggle? 👍 well played sir.
Add Comment