Consider the following code snippet :
 var grand_Total=eval("10*10+5")

Home | Discussion Forum

Consider the following code snippet :

 var grand_Total=eval("10*10+5");

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

3) The function definitions in JavaScript begins with

4) Consider the following code snippet

function printprops(o)
{
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)
{
function square(x)
{
return x*x;
}
return Math.sqrt(square(a) + square(b));
}

What does the above code result?

UP Gk Online Test

taiyari24hour.com