Consider the following statements
var count = 0;
while (count <
Home | Discussion Forum
while (count <
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
Answer : B
View More Related Question
1) The “var” and “function” are
2) 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
3) Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
4) JavaScript is a _______________ language
5) A conditional expression is also called a