memfn

macrosince v0.0-1443 clojure.core/memfnEdit
(memfn name & args)

Source docstring:
Expands into code that creates a fn that expects to be passed an
object and any args and calls the named instance method on the
object passing the args. Use when you want to treat a JavaScript
method as a first-class fn.
Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro memfn
  [name & args]
  (core/let [t (with-meta (gensym "target")
                 (meta name))]
    `(fn [~t ~@args]
       (. ~t (~name ~@args)))))