What Happens In The Following Javascript Code Snippetp Pre #57
What happens in the following javaScript code snippet?</p> <pre><code class="language-javascript"> var count = 0; while (count < 10) { console.log(count); count++; } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs106 Javascript. It can also be found in gs gs106 Lexical Structures - JavaScript Statements - Quiz No.1.
What happens in the following javaScript code snippet?
var count = 0; while (count < 10) { console.log(count); count++; }
The values of count are 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
Similar question(s) are as followings:
Online Quizzes of gs106 Javascript
Graphics and Rendering in JavaScript - Scripted Media - Quiz No.1
gs gs106 Javascript
Online Quizzes