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

Home | Discussion Forum

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

View More Related Question

1) Consider the following code snippet :

var string2Num=parseInt("123xyz");

The result for the above code snippet would be :

2) The function definitions in JavaScript begins with

3) Which of the following is the correct code for invoking a function without this keyword at all, and also too determine whether the strict mode is in effect?

4) When does the function name become optional in JavaScript?

5) Consider the following code snippet

o.m(x,y);

Which is an equivalent code for the above code snippet?

UP Gk Online Test

taiyari24hour.com