Prev Demo
Equal To Operator With The Basic Program In Javascript
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>Equal to operator with Basic program</h1> <b>Other way to write Equal to operator in JavaScript.</b> <p id="myId"></p> <script> var a = 30; var b = 30; var c = (a == b); document.getElementById("myId").innerHTML = c; </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output