What is the output of max('Infinity')?
Answers
Answered by
3
Answer:
The Math.max() method is used to return the largest of zero or more numbers. The result is “-Infinity” if no arguments are passed and the result is NaN if at least one of the arguments cannot be converted to a number.
The max() is a static method of Math, therefore, it is always used as Math.max(), rather than as a method of a Math object created
hope this helps you
please mark this as a brainlest answer please
Similar questions