Function: javascript-mode

javascript-mode is a function alias and interactive for js-mode, defined in js.el.gz.

Signature

(javascript-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

Key Bindings

Aliases

javascript-mode