nil-iter

functionsince v0.0-2301Edit
(nil-iter)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn nil-iter []
  (reify
    Object
    (hasNext [_] false)
    (next [_] (js/Error. "No such element"))
    (remove [_] (js/Error. "Unsupported operation"))))