A
Q. Consider the following code snippet
function hypotenuse(a, b)
{
function square(x)
{
return x*x;
}
return Math.sqrt(square(a) + square(b));
}
What does the above code result?
- Correct Answer - Option(A)
- Views: 16
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.