Console.log Detection


/ Published in: JavaScript
Save to your folder(s)

Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.