Consider the following code snippet :
var string2Num=parseInt("123xyz

Home | Discussion Forum

Consider the following code snippet :

var string2Num=parseInt("123xyz");

The result for the above code snippet would be :

View More Related Question

1) If you have a function f and an object o, you can define a method named m of o with

2) What is the difference between the two lines given below ?

  !!(obj1 && obj2); (obj1 && obj2);

3) The function definitions in JavaScript begins with

4) What will happen if a return statement does not have an associated expression?

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