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