<分区>
Possible Duplicates:
Can someone explain the dollar sign in Javascript?
Why would a javascript variable start with a dollar sign?
为什么我可以在 Javascript 中将函数分配给 $
而不是 #
或 ^
?
<分区>
Possible Duplicates:
Can someone explain the dollar sign in Javascript?
Why would a javascript variable start with a dollar sign?
为什么我可以在 Javascript 中将函数分配给 $
而不是 #
或 ^
?
最佳答案
来自ECMA standard (第 7.6 节)
The dollar sign ($) and the underscore (_) are permitted anywhere in an IdentifierName.
关于javascript - 为什么 "$"是一个有效的函数标识符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4795551/
相关文章:
python - Python 中 AST 的抽象语法 : questions for "FunctionDef" et "arguments"
c++ - 提升精神: parse boolean expression and reduce to canonical normal form
javascript - Ext Js Listview 列未正确隐藏或加宽
javascript - 根据提供的长度将重复的对象创建到数组中
javascript - Web组件: dynamic content inside <template>