javascript - How would I create a function that takes three numbers as arguments and returns the largest of them? -


i've been looking @ simple js exercises , appreciate if showed me how approach question or, better, provide solution can take at. appreciated.

edit: appreciate simple working example of function in use.

there's no need create new function 1 exists:

math.max(num1, num2, num3); 

creating new function overhead no value added.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -