How to make an if statement in javascript

Make if statement is javascript

<script>
var x = 5;
if(x == 5) {
   alert('x is 5');
}
else {
   alert('x is not 5');
}
</script>

Related Sourcecode

More Sourcecode

×
Google login
SignUp with Email
X