Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
A. The values of count is logged or stored in a particular location or storage
B. The value of count from 0 to 9 is displayed in the console
C. An error is displayed
D. An exception is thrown
Answer: Option B
The development environment offers which standard construct for data validation
A. Super controlled loop constructs
B. Case sensitivity check
C. Validation constructs
D. All of the mentioned
The main purpose of a “Live Wire” in NetScape is to
A. Create linkage between client side and server side
B. Permit server side, JavaScript code, to connect to RDBMS
C. Support only non relational database
D. To interpret JavaScript code
A JavaScript program developed on a Unix Machine
A. will throw errors and exceptions
B. must be restricted to a Unix Machine only
C. will work perfectly well on a Windows Machine
D. will be displayed as a JavaScript text on the browser
Join The Discussion