Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Compare unequality of two operands.

<!DOCTYPE html>
<html>
<head>
   <title>Operator Example</title>
</head>
<body>
   <script language="JavaScript">
      console.log(" 1 != '1' " + (1 != '1'));
      console.log(" 1 !== '2' " + (1 !== '2'));
   </script>
</body>
</html>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #Compare #unequality
ADD COMMENT
Topic
Name
7+3 =