<script> var x = 5; var y = 6; if(x >= y) { alert('x is equal to or more than y'); } else { alert('x is less than y'); } </script>