js--plain-class-re

js--plain-class-re is a variable defined in `js.el'.
Its value is

"^\\s-*\\([a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\(?:\\.[a-zA-Z_$]\\(?:\\s_\\|\\sw\\)*\\)*\\)\\.prototype\\s-*=\\s-*{"

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

Documentation:
Regexp matching a JavaScript explicit prototype "class" declaration.
An example of this is "Class.prototype = { method1: ...}".