本文实例讲述了Javascript使用Math.Min返回两个数中较小数的方法。分享给大家供大家参考。具体如下:
下面Javascript通过Math.Min返回两个数中较小的那个
Click the button to return the lowest number of 5 and 10.
运行上面代码得到数字为5
希望本文所述对大家的javascript程序设计有所帮助。

本文实例讲述了Javascript使用Math.Min返回两个数中较小数的方法。分享给大家供大家参考。具体如下:
下面Javascript通过Math.Min返回两个数中较小的那个
Click the button to return the lowest number of 5 and 10.
运行上面代码得到数字为5
希望本文所述对大家的javascript程序设计有所帮助。