Prev Demo
Same Value And Same Type In Javascript Comparison Operators.
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>Not equal value or Not Equal type (Same value and same type)</h1> <b>Assigning same value and same type to the operator gives the result as</b> <p id="myId"></p> <script> var a = "30"; document.getElementById("myId").innerHTML = (a !== "30"); </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output