SyntaxFix
Write A Post
Hire A Developer
Questions
The === is not for checking string equalit , to do so you can use the Regxp functions for example
===
if (x.match(y) === null) { // x and y are not equal }
there is also the test function
test