instead of using Math.max javascript code example
Example: math.max in javascript
Math.max() function returns the largest of the zero or more numbers given as input parameters.
Math.max(1,10,100); // return 100
Math.max() function returns the largest of the zero or more numbers given as input parameters.
Math.max(1,10,100); // return 100