When does the function name become optional in JavaScript?

Home | Discussion Forum
Taiyari24Hour

When does the function name become optional in JavaScript?

View More Related Question

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

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

3) Consider the following code snippet

o.m(x,y);

Which is an equivalent code for the above code snippet?

4) 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?

5) For the below mentioned code snippet:

var o = new Object();

The equivalent statement is:

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.