<script><br /> functiongetMax () {<br /> varmax = arguments[0];<br /> for(i = 1; i < arguments.length; i++){<br /> if(arguments[i] > max){<br /> max = arguments[i];<br /> }<br /> }<br /> returnmax;<br /> }<br /> console.log(getMax(11,66,88,33,52,89,76,28));<br /> </script>
.