private property JSMinPlus::$reserved in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 8.2 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 8.3 advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 7.2 advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
- 7 advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
File
- advagg_js_compress/
jsminplus.inc, line 176
Class
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',
);