Function: javascript-mode

javascript-mode is a 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 prog-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
C-M-x js-eval-defun
C-c C-j js-set-js-context
C-c M-: js-eval
M-. js-find-symbol

Key Bindings

Aliases

javascript-generic-mode (obsolete since 24.3) javascript-mode