this-as

macrosince v0.0-927Edit
(this-as name & body)

Source docstring:
Defines a scope where JavaScript's implicit "this" is bound to the name provided.
Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro this-as
  [name & body]
  `(let [~name (js-this)]
     ~@body))