Multiple choice

Which of the following is not a reserved word in JavaScript?

  1. interface

  2. throws

  3. short

  4. program

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Words like 'interface', 'throws', and 'short' are reserved keywords in JavaScript (or reserved for future use, especially in strict mode). 'program' is not a reserved keyword and can be freely used as a variable or function name.