Skip to content

Instantly share code, notes, and snippets.

@mlrawlings
Created June 18, 2016 23:23
Show Gist options
  • Save mlrawlings/724cc0c3bd4635b7f6541df9526fd084 to your computer and use it in GitHub Desktop.
Save mlrawlings/724cc0c3bd4635b7f6541df9526fd084 to your computer and use it in GitHub Desktop.
reserved js keywords
module.exports = [
// Existing Keywords
"break",
"case",
"catch",
"class",
"const",
"continue",
"debugger",
"default",
"delete",
"do",
"else",
"export",
"extends",
"finally",
"for",
"function",
"if",
"import",
"in",
"instanceof",
"new",
"return",
"super",
"switch",
"this",
"throw",
"try",
"typeof",
"var",
"void",
"while",
"with",
"yield",
// Future reserved keywords
// The following are reserved as future keywords by the ECMAScript specification.
// They have no special functionality at present, but they might at some future time,
// so they cannot be used as identifiers.
"enum",
"implements",
"interface",
"let",
"package",
"private",
"protected",
"public",
"static",
"await",
// The following are reserved as future keywords by older
// ECMAScript specifications (ECMAScript 1 till 3).
"abstract",
"boolean",
"byte",
"char",
"double",
"final",
"float",
"goto",
"int",
"long",
"native",
"short",
"synchronized",
"throws",
"transient",
"volatile",
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment