When an empty statement is encountered, a JavaScript interpreter
Home | Discussion ForumWhen an empty statement is encountered, a JavaScript interpreter
Ignores the statement
Prompts to complete the statement
Throws an error
Throws an exception
Answer : A
View More Related Question
1) Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
The values of count is logged or stored in a particular location or storage
The value of count from 0 to 9 is displayed in the console
An error is displayed
An exception is thrown
View Answer
2) Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
3) The “var” and “function” are
4) A conditional expression is also called a
5) A statement block is a
conditional block
block that contains a single statement
Both conditional block and single statement
block that combines multiple statements into a single compound statement
View Answer