Skip to content

Commit 20f3277

Browse files
committed
1.10.740
1 parent 99d669f commit 20f3277

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Official web site: http://clojurescript.org
66

77
## Releases and dependency information ##
88

9-
Latest stable release: 1.10.739
9+
Latest stable release: 1.10.740
1010

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

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

1515
```
16-
[org.clojure/clojurescript "1.10.739"]
16+
[org.clojure/clojurescript "1.10.740"]
1717
```
1818

1919
[Maven](http://maven.apache.org) dependency information:
@@ -22,7 +22,7 @@ Latest stable release: 1.10.739
2222
<dependency>
2323
<groupId>org.clojure</groupId>
2424
<artifactId>clojurescript</artifactId>
25-
<version>1.10.739</version>
25+
<version>1.10.740</version>
2626
</dependency>
2727
```
2828

changes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 1.10.739
1+
## 1.10.740
22

33
### Changes
44
* Removed REPL/target support for Rhino, Nashorn, Graaljs

src/main/cljs/cljs/core.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@
12081208
(defn js-iterable?
12091209
"Return true if x has a JavaScript iterator property"
12101210
[x]
1211-
(gobject/containsKey x ITER_SYMBOL))
1211+
(not (nil? (js* "~{}[~{}]" x ITER_SYMBOL))))
12121212

12131213
(defn clone
12141214
"Clone the supplied value which must implement ICloneable."

src/test/cljs/cljs/seqs_test.cljs

+5
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,8 @@
231231
(is (= () (rest s)))
232232
(is (nil? (next s)))
233233
(is (empty? s)))))
234+
235+
(deftest test-js-iterable?
236+
(testing "test that js-iterable? works on ES6 collections and normal values"
237+
(is (true? (js-iterable? (js/Set.))))
238+
(is (false? (js-iterable? 1)))))

0 commit comments

Comments
 (0)