Consider the following code snippet :
The output for the above statement would be :
View More Related Question
1) What is the purpose of a return statement in a function?
2) If you have a function f and an object o, you can define a method named m of o with
4) Consider the following code snippet
for(var p in o)
console.log(p + ": " + o[p] + "\n");
What will the above code snippet result ?
5) Consider the following code snippet
function hypotenuse(a, b)
return Math.sqrt(square(a) + square(b));
What does the above code result?