isValidVarName()
Determines if a string can be used as a variable name in JavaScript.
This function is valid in v2.10.1 to v2.24.3. This function has been downloaded 66 times.true
if the string value of varName
is a valid variable name in JavaScript, otherwise false
.This function is directly required by the following functions:
blockify()
eval()
the global variables will be deleted and will only be included in the block in which eval()
executes.
uneval()