MCQOPTIONS
Bookmark
Saved Bookmarks
→
Javascript
→
Blobs
→
Consider the following code snippet :
1.
Consider the following code snippet :
A.
Undefined
B.
Null
C.
0
D.
1
E.
None of these
Answer» E. None of these
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Consider the following code snippet :function constfunctions() { var functions = []; for(var k = 0; k < 10; k++) functions [k] = function() { return k; }; return functions ;}var functions = constfunctions();functions [5]()What does the last statement return ?
Consider the following code snippet :var p = counter(), q = counter(); p.count()q.count() p.reset() p.count() q.count()The state stored in q is :
What is the difference between the two lines given below ?!!(object1 && object2);(object1 && object2);
For the below mentioned code snippet:var obj = new Object();The equivalent statement is:
Consider the following code snippet :var string2Number=parseInt("456pqr");
Consider the following code snippet :var tensquared = (function(n) {return n*n;}(100));Will the above code work ?
Consider the following code snippet :var Total=eval("5*5+10");
Consider the following code snippetopt.fun(p,q);Which is an equivalent code for the above code snippet?
Consider the following code snippetfunction output(n) { for(var v in n) console.log(v + ": " + n[v] + " n");}What will the above code snippet result ?
Consider the following code snippetfunction hypotenuse(p, q) { function square(n) { return n*n; } return Math.sqrt(square(p) + square(q));}What does the above code result?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies