Identifiers to avoid
Safe programming suggests that the following words or tokens should not be used as identifiers, neither as variable nor as function names. See prohibited identifiers for a list of words to that simply should not be used as identifiers.
|
arguments |
Array |
Boolean |
Date |
|
decodeURI |
decodeURIComponent |
encodeURI |
|
|
Error |
escape |
eval |
EvalError |
|
Function |
Infinity |
isFinite |
isNaN |
|
Math |
NaN |
Number |
Object |
|
parseFloat |
parseInt |
RangeError |
ReferenceError |
|
RegExp |
String |
SyntaxError |
TypeError |
|
undefined |
unescape |
URIError |