Preventing javascript error using console.log on old browsers


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

This will detect if console.log is available in browser and display the message. Otherwise will display as alert message

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.