Skip to main content

Core

18
  • .

    The instance member form works for methods and fields. They all expand into calls to the dot operator at macroexpansion ...

  • catch

    catch-clause => (catch classname name expr*) finally-clause => (finally expr*) Catches and handles JavaScript exceptions...

  • def

    Creates and interns a global var with the name of symbol in the current namespace (*ns*) or locates such a var if it alr...

  • def

    Given a namespace-qualified keyword or resolveable symbol k, and a spec, spec-name, predicate or regex-op makes an entry...

  • def

    Given a namespace-qualified keyword or resolveable symbol k, and a spec, spec-name, predicate or regex-op makes an entry...

  • do

    Evaluates the expressions in order and returns the value of the last. If no expressions are supplied, returns nil.

  • finally

    catch-clause => (catch classname name expr*) finally-clause => (finally expr*) Catches and handles JavaScript exceptions...

  • if

    Evaluates test. If not the singular values nil or false, evaluates and yields then, otherwise, evaluates and yields else...

  • new

    The args, if any, are evaluated from left to right, and passed to the JavaScript constructor. The constructed object is ...

  • ns

    You must currently use the ns form only with the following caveats * You must use the :only form of :use * :require...

  • quote

    Yields the unevaluated form.

  • recur

    Evaluates the exprs in order, then, in parallel, rebinds the bindings of the recursion point to the values of the exprs....

  • set!

    Used to set vars and JavaScript object fields

  • throw

    The expr is evaluated and thrown.

  • try

    catch-clause => (catch classname name expr*) finally-clause => (finally expr*) Catches and handles JavaScript exceptions...

  • var

    The symbol must resolve to a var, and the Var object itself (not its value) is returned. The reader macro #'x expands to...