IEncodeJS

protocolsince v0.0-1552Edit
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defprotocol IEncodeJS
  (-clj->js [x] "Recursively transforms clj values to JavaScript")
  (-key->js [x] "Transforms map keys to valid JavaScript keys. Arbitrary keys are
  encoded to their string representation via (pr-str x)"))