Home » JavaScript » JavaScript While Loop » Question

JavaScript While Loop

  1. One of the special feature of an interpreter in reference with the for loop is that ___________.
    1. the iteration is finite when an interpreter is used
    2. The body of the loop is executed only once
    3. Before each iteration, the interpreter evaluates the variable expression and assigns the name of the property
    4. The iterations can be infinite when an interpreter is used
    5. None of these
Correct Option: C

Interpreter translates the source code into machine code line by line, and stops when it encounters an error. Before each iteration, the interpreter evaluates the variable expression and assigns the name of the property (a string value) to it.



Your comments will be displayed only after manual approval.