We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce216c commit a2373cbCopy full SHA for a2373cb
src/main/cljs/cljs/core.cljs
@@ -12440,7 +12440,12 @@ reduces them without incurring seq initialization"
12440
(.push new-keys k)
12441
(ObjMap. meta new-keys new-strobj nil)))
12442
; non-string key. game over.
12443
- (-with-meta (apply simple-hash-map k v (-seq coll)) meta)))
+ (-with-meta
12444
+ (-kv-reduce coll
12445
+ (fn [ret k v]
12446
+ (-assoc ret k v))
12447
+ (. HashMap -EMPTY) )
12448
+ meta)))
12449
(-contains-key? [coll k]
12450
(if (and (string? k)
12451
(not (nil? (scan-array 1 k keys))))
0 commit comments