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
Post a Comment