Multiple choice

Which of the following is NOT a restriction while using the "strict option" in JavaScript?

  1. Variables must be declared

  2. Parameter name can not be duplicated

  3. eval can not be used as an identifier.

  4. with statement

  5. The word string can not be used as an identifer

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

String can be used as an identifier even if the strict option is specified.