Home » JavaScript » JavaScript While Loop » Question

JavaScript While Loop

  1. Among the keywords below, which one is not a statement?
    1. use strict
    2. if
    3. with
    4. debugger
    5. None of these
Correct Option: A

use strict is a directive introduced in ECMAScript5. Directives are not statements because it does not include any language keywords. Also, it can appear only at the start of a script or at the start of a function body, before any real statement has appeared.



Your comments will be displayed only after manual approval.