type | since v0.0-2371 | Edit |
(ES6SetEntriesIterator. s)
(deftype ES6SetEntriesIterator [^:mutable s]
Object
(next [_]
(if-not (nil? s)
(let [x (first s)]
(set! s (next s))
#js {:value #js [x x] :done false})
#js {:value nil :done true})))