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) ?
==
equals
equal
===
Answer : D
View More Related Question
1) The “var” and “function” are
2) 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) ?
3) 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
4) The enumeration order becomes implementation dependent and non-interoperable if :
If the object inherits enumerable properties
The object does not have the properties present in the integer array indices
The delete keyword is never used
Object.defineProperty() is not used
View Answer
5) When an empty statement is encountered, a JavaScript interpreter
Ignores the statement
Prompts to complete the statement
Throws an error
Throws an exception
View Answer