Js if else functions


<body>
<script type=”text/javascript”>

var a=12;
var b=12;
if(a==b){
document.write(“a is equal to b”);
}else{
document.write(“a is not equal to b”);<br />
}

</script>
</body>

Follow

Get every new post delivered to your Inbox.