Skip to main content

General

14
  • array

    Creates a new javascript array. @param {...*} var_args

  • clj->js

    Recursively transforms ClojureScript values to JavaScript. sets/vectors/lists become Arrays, Keywords and Symbol become ...

  • js->clj

    Recursively transforms JavaScript arrays into ClojureScript vectors, and JavaScript objects into ClojureScript maps. Wi...

  • js-comment

    Emit a top-level JavaScript multi-line comment. New lines will create a new comment line. Comment block will be preceded...

  • js-debugger

    Emit JavaScript "debugger;" statement

  • js-delete

    Delete a property from a JavaScript object. Returns true upon success, false otherwise.

  • js-inline-comment

    Emit an inline JavaScript comment.

  • js-invoke

    Invoke JavaScript object method via string. Needed when the string is not a valid unquoted property name.

  • js-keys

    Return the JavaScript keys for an object.

  • js-obj

    Create JavaSript object from an even number arguments representing interleaved keys and values.

  • specify

    Identical to specify! but does not mutate its first argument. The first argument must be an ICloneable instance.

  • specify!

    Identical to reify but mutates its first argument.

  • this-as

    Defines a scope where JavaScript's implicit "this" is bound to the name provided.