Same name in other branches
- 5.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 6.0.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 7.x-2.x advagg_js_compress/jsminplus.inc \JSMinPlus::reserved
- 8.x-2.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 8.x-3.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
- 8.x-4.x advagg_js_minify/jsminplus.inc \JSMinPlus::reserved
Type: reserved
Fichier
-
advagg_js_compress/
jsminplus.inc, line 176
Classe
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',
);