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

function printprops(o)
{
for(var p in o)
console.log(p + ": " + o[p] + "\n");
}

What will the above code snippet result ?

4) Consider the following code snippet :

var tensquared = (function(x)
{
return x*x;
}
(10));

Will the above code work ?

5) A function with no return value is called

UP Gk Online Test

taiyari24hour.com

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