Consider the following code:var count = 10;while(count < 10) { console.log(count); count ;}In the above snippet, what is happening? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
25 followers study24x7 25 May 2020 02:33 PM study24x7 study24x7

Consider the following code:var count = 10;
while(count < 10) {
console.log(count);
count++;
}
In the above snippet, what is happening?

A

the value of count from 0 to 9 is displayed in console

B

Error is displayed

C

Exception is thrown

D

Value of count is logged in a storage location

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles