UNPKG

tamedevil

Version:

Build and evaluate JavaScript strings safely via tagged template literals

100 lines 1.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.reservedWords = void 0; exports.reservedWords = new Set([ // JS reserved words "await", "break", "case", "catch", "class", "const", "continue", "debugger", "default", "delete", "do", "else", "export", "extends", "false", "finally", "for", "function", "if", "import", "in", "instanceof", "new", "null", "return", "super", "switch", "this", "throw", "true", "try", "typeof", "var", "void", "while", "with", "let", "static", "yield", // Future reserved words "enum", "implements", "interface", "package", "private", "protected", "public", "abstract", "boolean", "byte", "char", "double", "final", "float", "goto", "int", "long", "native", "short", "synchronized", "throws", "transient", "volatile", // Special "arguments", "as", "import", "require", "eval", "Function", "from", "get", "of", "in", "set", "null", "undefined", "Math", "Number", "BigInt", "true", "false", // Confusing "async", // Globals "window", "global", "globalThis", "process", "require", "import", "constructor", "class", ]); //# sourceMappingURL=reservedWords.js.map