Posted By

jasonseney on 03/26/09


Tagged

javascript browser console


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

nfreear
beckje01


Check For Console object in web browser with JavaScript


 / Published in: JavaScript
 

  1. if(typeof(console) !== 'undefined' && console != null) {
  2. console.log("hello world!");
  3. }

Report this snippet  

You need to login to post a comment.