Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Consider the following statements

    var count = 0;

    while (count < 10)

    {

    console.log(count);

    count++;

    }

    In the above code snippet, what happens?

  2. 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

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Explanation Not Provided


Be The First To Comment