.Net Treasure
Thursday, February 17, 2011
Find Max Number From Array in JavaScript
Hi
Why we use Loop when we find Max Number From Array.
try This Code...
function
MaxNo(array) {
return
Math.max.apply(Math, array);
}
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment