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 trialrobinhickson
Front End Web Development Techdegree Graduate 18,162 PointsAnother typo leading to incorrect demo in console...
<script> let score = 0; let age = 33; let isHungy = false; </script>
Andrew demonstrates in the console that isHungry = true, returns true. But of course it does - because isHungry is a new variable. isHungy in the script is another variable. Which, I guess, just serves to demonstrate the possible errors with let, just as much as with var :)
Presumably someone would like to know about this typo....but who?