Sunday 15 June 2014

javascript - how do I clear the developer tools log console in safari? -


I have been using this code successfully in IE, FF and Chrome, but throws an error on the Safari console. Is there any way to do this in Safari?

  if (window.console & console.log) {console.clear (); Console.log ("console approval"); }    

Sadly, there is nothing like it "by hand" (or Use "Q + +" to clear the console.log some new lines;)

No comments:

Post a Comment