i can code! for Web.
icancode-4-web.blogspot.com
Tuesday, August 2, 2011
JavaScript: Math.max and Math.min
Math.max and Math.min return the maximum and minimum from a list of numbers.
Example
Math.max(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
Math.min(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment