<script>function mayor(){ var m=[].slice.call(arguments); return m.sort(function(a,b){return a-b;}).pop();}alert(mayor(1,9,5,3));</script>