Skip to content

Commit

Permalink
1.10.740
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Apr 24, 2020
1 parent 99d669f commit 20f3277
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Official web site: http://clojurescript.org

## Releases and dependency information ##

Latest stable release: 1.10.739
Latest stable release: 1.10.740

* [All released versions](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojurescript%22)

[Leiningen](http://github.com/technomancy/leiningen/) dependency information:

```
[org.clojure/clojurescript "1.10.739"]
[org.clojure/clojurescript "1.10.740"]
```

[Maven](http://maven.apache.org) dependency information:
Expand All @@ -22,7 +22,7 @@ Latest stable release: 1.10.739
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojurescript</artifactId>
<version>1.10.739</version>
<version>1.10.740</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.10.739
## 1.10.740

### Changes
* Removed REPL/target support for Rhino, Nashorn, Graaljs
Expand Down
2 changes: 1 addition & 1 deletion src/main/cljs/cljs/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@
(defn js-iterable?
"Return true if x has a JavaScript iterator property"
[x]
(gobject/containsKey x ITER_SYMBOL))
(not (nil? (js* "~{}[~{}]" x ITER_SYMBOL))))

(defn clone
"Clone the supplied value which must implement ICloneable."
Expand Down
5 changes: 5 additions & 0 deletions src/test/cljs/cljs/seqs_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,8 @@
(is (= () (rest s)))
(is (nil? (next s)))
(is (empty? s)))))

(deftest test-js-iterable?
(testing "test that js-iterable? works on ES6 collections and normal values"
(is (true? (js-iterable? (js/Set.))))
(is (false? (js-iterable? 1)))))

0 comments on commit 20f3277

Please sign in to comment.