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) Consider the following code snippet :

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

Will the above code work ?

3) Consider the following code snippet

function f() {};

The above prototype represents a

4) Consider the following code snippet :

var string2Num=parseInt("123xyz");

The result for the above code snippet would be :

5) Do functions in JavaScript necessarily return a value ?

UP Gk Online Test

taiyari24hour.com

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