Skip to content

Commit ac11735

Browse files
committed
assoc directly reference array-map, replace w/ literal
1 parent 4e3f244 commit ac11735

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
@@ -2070,7 +2070,7 @@ reduces them without incurring seq initialization"
20702070
(-assoc coll k v)
20712071
(if-not (nil? coll)
20722072
(-assoc coll k v)
2073-
(array-map k v))))
2073+
{k v})))
20742074
([coll k v & kvs]
20752075
(let [ret (assoc coll k v)]
20762076
(if kvs

0 commit comments

Comments
 (0)