File tree 4 files changed +8
-6
lines changed
4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ Official web site: http://clojurescript.org
6
6
7
7
## Releases and dependency information ##
8
8
9
- Latest stable release: 1.10.740
9
+ Latest stable release: 1.10.741
10
10
11
11
* [ All released versions] ( http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojurescript%22 )
12
12
13
13
[ Leiningen] ( http://github.com/technomancy/leiningen/ ) dependency information:
14
14
15
15
```
16
- [org.clojure/clojurescript "1.10.740 "]
16
+ [org.clojure/clojurescript "1.10.741 "]
17
17
```
18
18
19
19
[ Maven] ( http://maven.apache.org ) dependency information:
@@ -22,7 +22,7 @@ Latest stable release: 1.10.740
22
22
<dependency>
23
23
<groupId>org.clojure</groupId>
24
24
<artifactId>clojurescript</artifactId>
25
- <version>1.10.740 </version>
25
+ <version>1.10.741 </version>
26
26
</dependency>
27
27
```
28
28
Original file line number Diff line number Diff line change 1
- ## 1.10.740
1
+ ## 1.10.741
2
2
3
3
### Changes
4
4
* Removed REPL/target support for Rhino, Nashorn, Graaljs
Original file line number Diff line number Diff line change 1208
1208
(defn js-iterable?
1209
1209
" Return true if x has a JavaScript iterator property"
1210
1210
[x]
1211
- (not (nil? (js* " ~{}[~{}]" x ITER_SYMBOL))))
1211
+ (and (not (nil? x))
1212
+ (not (nil? (js* " ~{}[~{}]" x ITER_SYMBOL)))))
1212
1213
1213
1214
(defn clone
1214
1215
" Clone the supplied value which must implement ICloneable."
Original file line number Diff line number Diff line change 235
235
(deftest test-js-iterable?
236
236
(testing " test that js-iterable? works on ES6 collections and normal values"
237
237
(is (true ? (js-iterable? (js/Set. ))))
238
- (is (false ? (js-iterable? 1 )))))
238
+ (is (false ? (js-iterable? 1 )))
239
+ (is (false ? (js-iterable? nil )))))
You can’t perform that action at this time.
0 commit comments