Skip to content

Commit 0598b93

Browse files
olieidelmfikes
authored andcommitted
CLJS-2893: seq: use .-length instead of alength for strings
1 parent 47553d8 commit 0598b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@
12141214
(IndexedSeq. coll 0 nil))
12151215

12161216
(string? coll)
1217-
(when-not (zero? (alength coll))
1217+
(when-not (zero? (.-length coll))
12181218
(IndexedSeq. coll 0 nil))
12191219

12201220
(native-satisfies? ISeqable coll)

0 commit comments

Comments
 (0)