clojure.reflect/macroexpand

functionsince v0.0-1503Edit
(macroexpand form)

Source docstring:
Queries the reflection api with a quoted macro form, then calls the
callback function with the macroexpanded form, as a string.
Source code @ clojurescript:src/main/cljs/clojure/reflect.cljs
(defn macroexpand
  [form]
  (query-reflection (str "macroform=" (js/encodeURIComponent (str form))) println))