js--name-re

js--name-re is a variable defined in `js.el'.
Its value is
"[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*"

  • This variable may be risky if used as a file-local variable.

Documentation:
Regexp matching a JavaScript identifier, without grouping.