Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  2. 6.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  3. 7.x-1.x advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
  4. 7.x-2.x advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved

Type: reserved

Fichier

advagg_js_minify/jsminplus.inc, line 192

Classe

JSMinPlus

Code

private $reserved = array(
    'break',
    'case',
    'catch',
    'continue',
    'default',
    'delete',
    'do',
    'else',
    'finally',
    'for',
    'function',
    'if',
    'in',
    'instanceof',
    'new',
    'return',
    'switch',
    'this',
    'throw',
    'try',
    'typeof',
    'var',
    'void',
    'while',
    'with',
    // Words reserved for future use
'abstract',
    'boolean',
    'byte',
    'char',
    'class',
    'const',
    'debugger',
    'double',
    'enum',
    'export',
    'extends',
    'final',
    'float',
    'goto',
    'implements',
    'import',
    'int',
    'interface',
    'long',
    'native',
    'package',
    'private',
    'protected',
    'public',
    'short',
    'static',
    'super',
    'synchronized',
    'throws',
    'transient',
    'volatile',
    // These are not reserved, but should be taken into account
    // in isValidIdentifier (See jslint source code)
'arguments',
    'eval',
    'true',
    'false',
    'Infinity',
    'NaN',
    'null',
    'undefined',
);