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
ilya A
3,802 PointsWhat does "!==" mean?
Could someone remind me?
1 Answer
Steven Parker
243,318 PointsIt's the strict inequality test operator. It means "does not equal or is a different type".
Examples:
if (1 !== 2) document.write("<p>1 is not equal to 2</p>");
if (5 !== "5") document.write('<p>number 5 is not equal to the string "5"</p>');