Sunday, May 1, 2011

What is $ dollar sign in javascript

$ can be used as a variable name.

“The dollar sign ($) and the underscore (_) are permitted anywhere in an IdentifierName.”
From
7.6 Identifier Names and Identifiers

No comments:

Post a Comment