JavaScript Future Reserved Words

In JavaScript, future reserved keywords must not be used as identifiers, even though they have no special meaning in the current version.

For a list of reserved words in JavaScript, see JavaScript Reserved Words.

Future reserved words

The following are future reserved words:

  1. class

  2. enum

  3. export

  4. extends

  5. import

  6. super

Future reserved words in strict mode

The following are future reserved words only in strict mode. For more information about strict mode, see use strict Directive.

  1. implements

  2. interface

  3. package

  4. private

  5. protected

  6. public

  7. static

  8. yield