Skip to content
Advertisement

function that returns the maximum of one of several numbers and verifies whether the arguments are numbers

I am writing a function, with the name max_number, which returns the maximum of a number numbers variable. If one of the arguments is not a number, then it returns false. Using the is_numeric () function. But the function always returns false. Will I do something wrong?

The code and this:

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement