Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

A note about console.log in IE8 and Below

I just wanted to pass along a quick note regarding the use of console.log in relation to JavaScript. I found out yesterday, the hard way :) that IE8 throws a script error when using console.log unless the IE console is open prior to the page being loaded. I know we all hate IE, but in a world where it still exsists I though I'd mention this to everyone, thanks!

2 Answers

The unfortunate thing is that it comes on every Windows PC made. IE should DEFINITELY be optional. But since it is not, thanks Andrew for this information.

So what if it throws an error? You're supposed to remove console.log in production!