How to find the largest number in an array javascript and html and using prompt to enter numbers
Answers
Answered by
6
Answer:
The function allows you to get the max value from many params or from an array. There is a test on the first argument "argument[0]" to see if it is an array. If it is then it will use that argument with Math.max which is a built in JavaScript method. Follow the links
Similar questions