Math.max.apply(null,[1,5,3])

  <script type="text/javascript">
 
      alert(Math.max(1,5,3));
      alert(Math.max.apply(null,[1,5,3]));


  </script>

 

posted @ 2017-11-29 22:01  sky20080101  阅读(48)  评论(0)    收藏  举报