Skip to content

Commit

Permalink
1.10.741
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Apr 24, 2020
1 parent 20f3277 commit 799d62f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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.740
Latest stable release: 1.10.741

* [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.740"]
[org.clojure/clojurescript "1.10.741"]
```

[Maven](http://maven.apache.org) dependency information:
Expand All @@ -22,7 +22,7 @@ Latest stable release: 1.10.740
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojurescript</artifactId>
<version>1.10.740</version>
<version>1.10.741</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.740
## 1.10.741

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

(defn clone
"Clone the supplied value which must implement ICloneable."
Expand Down
3 changes: 2 additions & 1 deletion src/test/cljs/cljs/seqs_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,5 @@
(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)))))
(is (false? (js-iterable? 1)))
(is (false? (js-iterable? nil)))))

0 comments on commit 799d62f

Please sign in to comment.