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 trialNathan Clevenger
Courses Plus Student 17,759 PointsmyNullVariable === myUndefinedVariable???
I think I figured out what I was missing...!
2 Answers
Dino Paškvan
Courses Plus Student 44,108 PointsActually the code challenge says that the function is getting called even though those values are not identical. And your task is to stop that from happening. Which is what changing ==
to ===
accomplishes.
Nathan Clevenger
Courses Plus Student 17,759 Pointsalright, thanks!
Nathan Clevenger
Courses Plus Student 17,759 PointsNathan Clevenger
Courses Plus Student 17,759 PointsThanks, Dino. I realized this right after posting but couldn't delete this question. Is there a way to do that?
Dino Paškvan
Courses Plus Student 44,108 PointsDino Paškvan
Courses Plus Student 44,108 PointsThe forum policy is not to delete questions so other students can benefit both from the questions and the answers.