<script type="text/javascript"> function papapa(x,y){ if(x>y|| x==y){ return x; }else{ return y; } } var a= papapa(1,9); alert(a) </script>