There is a case when I receive a string with the following special characters in it:
<!@#$%^&*()_+|}{":?></.,';][=-`~DS0>
While performing a compare operation on this string using the double equal to (==) operator in JavaScript it is not yielding the appropriate result.
Although both the strings contain the same specified string the compare operation does not return true.
My case would translate somewhat like this in JavaScript:
var strValue = "<!@#$%^&*()_+|}{":?></.,';][=-`~DS0>";
var itrValue = "<!@#$%^&*()_+|}{":?></.,';][=-`~DS0>";
if (itrValue == strValue) {
alert("True");
} else {
alert("false");
}