Function: js-mode
js-mode is an autoloaded, interactive and byte-compiled function
defined in js.el.gz.
Signature
(js-mode)
Documentation
Major mode for editing JavaScript.
In addition to any hooks its parent mode js-base-mode might have run,
this mode runs the hook js-mode-hook, as the final or penultimate step
during initialization.
C-M-q prog-indent-sexp
M-q prog-fill-reindent-defun
Probably introduced at or before Emacs version 24.3.
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
;;;###autoload
(define-derived-mode js-mode js-base-mode "JavaScript"
"Major mode for editing JavaScript."
:group 'js
(js--mode-setup))