MCQOPTIONS
Bookmark
Saved Bookmarks
→
Javascript
→
Blobs
→
What would be the most appropriate output for the...
1.
What would be the most appropriate output for the following code snippet?
A.
20
B.
Error
C.
15
D.
10
E.
None of these
Answer» E. None of these
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which is a more efficient code snippet?Code 1 :for(var n=10;n>=1;n--){ document.writeln(n);}Code 2 :var n=10;while(n>=1){ document.writeln(n); n++;}
What would be the most appropriate output for the following code snippet?var p=15 , q=10var object = { p : 20 }with(object) { alert(q)}
What happens in the following javascript code snippet?var num = 1;while (num < 15) { console.log(num); num++;}
Consider the following statementsswitch(expression){ statements}In the above switch syntax, the expression is compared with the case labels using which of the following operator(s)?
Which is a more efficient code snippet?
A conditional expression is also called a _______________.
When an empty statement is encountered, a JavaScript interpreter __________.
What would be the most appropriate output for the following code snippet?
What happens in the following javascript code snippet?
The var and function are __________.
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