es6-iterable

macrosince v0.0-2411Edit
(es6-iterable ty)

Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro es6-iterable [ty]
  `(unchecked-set (.-prototype ~ty) cljs.core/ITER_SYMBOL
     (fn []
       (this-as this#
         (cljs.core/es6-iterator this#)))))