Javascript statements MCQ Questions and Answers
Home | Javascript | Javascript statementsJavascript Statements MCQ Questions and Answers : We provide quiz questions on Javascript Statements where you can learn lots of objective questions with answers and you can also download pdf of javascript.
1) JavaScript is a _______________ language
2) A conditional expression is also called a
3) A statement block is a
Answer : D Discuss
4) When an empty statement is encountered, a JavaScript interpreter
Answer : A Discuss
5) The “var” and “function” are
6) Consider the following statements
switch(expression)
{
statements
}
In the above switch syntax, the expression is compared with the case labels using which of the following operator(s) ?
7) Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
Answer : B Discuss
8) The enumeration order becomes implementation dependent and non-interoperable if :
Answer : A Discuss
9) Spaces,Punctuation marks are called as __________ Symbols in JavaScript.