<script> var numero = -1; if(numero === 0){ alert("Cero"); }else if(numero > 0) { alert("Positivo"); }else{ alert("Negativo"); } </script>