Variable: js--function-heading-1-re
js--function-heading-1-re is a variable defined in js.el.gz.
Value
"^\\s-*function\\(?:\\s-\\|\\*\\)+\\([[:alpha:]_$]\\(?:\\s_\\|\\sw\\)*\\)"
Documentation
Regexp matching the start of a JavaScript function header.
Match group 1 is the name of the function.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--function-heading-1-re
(concat
"^\\s-*function\\(?:\\s-\\|\\*\\)+\\(" js--name-re "\\)")
"Regexp matching the start of a JavaScript function header.
Match group 1 is the name of the function.")