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 trialBoss Monkey
4,948 PointsI get undefined when I run the code at 1:10
When I try to run the passphrase.lenght code I get undefined in the console instead of 11.
var passphrase = "Open Sesame"; console.log(passphrase.lenght);
2 Answers
Alexander Solberg
14,350 PointsJust a small typo, you spelled "length", "lenght" ^^
Boss Monkey
4,948 Pointsyeah I figured it out 5m after I posted this, thanks for the quick help! Now I cant help but feel a little embarrassed. XD
Alexander Solberg
14,350 PointsKnow that feeling, I do it all the time :P