Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

224. min()和 max()方法 #224

Open
webVueBlog opened this issue May 5, 2020 · 1 comment
Open

224. min()和 max()方法 #224

webVueBlog opened this issue May 5, 2020 · 1 comment
Labels
JavaScript JavaScript

Comments

@webVueBlog
Copy link
Member

[js]

@webVueBlog webVueBlog added the JavaScript JavaScript label May 5, 2020
@webVueBlog
Copy link
Member Author

min()和 max()方法用于确定一组数值中的最小值和最大值

var max = Math.max(3, 54, 32, 16); 
alert(max); //54 
var min = Math.min(3, 54, 32, 16); 
alert(min); //3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript JavaScript
Projects
None yet
Development

No branches or pull requests

1 participant