Variable: js--constant-re

js--constant-re is a variable defined in js.el.gz.

Value

"\\_<\\(Infinity\\|NaN\\|arguments\\|false\\|null\\|t\\(?:his\\|rue\\)\\|undefined\\)\\_>"

Documentation

Regular expression matching any future reserved words in JavaScript.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defconst js--constant-re
  (js--regexp-opt-symbol '("false" "null" "undefined"
                                 "Infinity" "NaN"
                                 "true" "arguments" "this"))
  "Regular expression matching any future reserved words in JavaScript.")