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 8eae380 commit 5611cd5Copy full SHA for 5611cd5
src/main/cljs/cljs/core.cljs
@@ -12552,9 +12552,10 @@ reduces them without incurring seq initialization"
12552
obj (js-obj)]
12553
(loop [kvs (seq keyvals)]
12554
(if kvs
12555
- (do (.push ks (first kvs))
12556
- (gobject/set obj (first kvs) (second kvs))
12557
- (recur (nnext kvs)))
+ (let [k (-> kvs first keyword->obj-map-key)]
+ (.push ks k)
+ (gobject/set obj k (second kvs))
12558
+ (recur (nnext kvs)))
12559
(.fromObject ObjMap ks obj)))))
12560
12561
; The keys field is an array of all keys of this map, in no particular
0 commit comments