4 ms·
Actual comparison with Clojure: (require [clojure.data.json :as json]) (defn xform [s] (-> s json/read-str (update "foo" + 2)
by Uhuhreally 7y ago
Actual comparison with Clojure:
(require [clojure.data.json :as json])
(defn xform [s]
(-> s
json/read-str
(update "foo" + 2)
json/write-str))
Your example is Clojurescript with interop