View More Related Question
1) What will happen if a return statement does not have an associated expression?
2) What is the difference between the two lines given below ?
!!(obj1 && obj2); (obj1 && obj2);
3) Consider the following code snippet
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)
Will the above code work ?
5) A function with no return value is called