2
我發現clojurescript結果whon ASET被鏈接:在ASET未鏈在clojurescript
(def data (js-obj))
(-> data
(aset "a" "a")
(aset "b" "b"))
(aget data "a") ;=> "a"
(aget data "b") ;=> 'returns nothing'
而
(-> 1 inc dec) ;=> returns 1, which is fine
是啊...我並沒有考慮正確=)我今天早上我應該用多託的鏈接實現。 – zcaudate