isIdentifier()
function isIdentifier(name): boolean;True for identifiers that can be written as a.b; other names need a["b"].
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
Returns
Section titled “Returns”boolean
function isIdentifier(name): boolean;True for identifiers that can be written as a.b; other names need a["b"].
| Parameter | Type |
|---|---|
name |
string |
boolean