You are here

private property JSMinPlus::$reserved in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  2. 8.2 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  3. 8.3 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
  4. 6 advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
  5. 7.2 advagg_js_compress/jsminplus.inc \JSMinPlus::reserved

File

advagg_js_compress/jsminplus.inc, line 176

Class

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',
);