Array
+Array
arrayMax
Returns the maximum value in an array.
Use Math.max() combined with the spread operator (...) to get the maximum value in the array.
Number() to check if the coercion holds.
// validateNumber('10') -> true
- +
Returns the maximum value in an array.
Use Math.max() combined with the spread operator (...) to get the maximum value in the array.
Number() to check if the coercion holds.
// validateNumber('10') -> true