Posted by Leif K-Brooks on 12/26/29 11:58
Toby Inkster wrote:
> Firstly, Javascript variables cannot begin with a dollar sign.
Yes, they can; it's just not a very good idea in most cases. The
ECMAScript spec says:
IdentifierName ::
IdentifierStart
IdentifierName IdentifierPart
IdentifierStart ::
UnicodeLetter
$
_
UnicodeEscapeSequence
IdentifierPart ::
IdentifierStart
UnicodeCombiningMark
UnicodeDigit
UnicodeConnectorPunctuation
UnicodeEscapeSequence
[Back to original message]
|