r/Clojurescript • u/fasttalkerslowwalker • Dec 06 '22
Nested Values in JS Objects
Can anyone tell me why this is evaluating to nil?
(let [m (clj->js {"values" {"ab-c" "treas"}})]
(.. m -values -ab-c))
4
Upvotes
View all comments
Show parent comment
2
u/sritchie09 Dec 08 '22
Nope, string keys are totally fine in Clojure maps.