cljs.repl.reflect/parse-param

functionsince v0.0-1503Edit
(parse-param path)

Source docstring:
Parses the query parameter of a path of the form "/reflect?var=foo"
into the vector ["var" "foo"].
Source code @ clojurescript:src/main/clojure/cljs/repl/reflect.clj
(defn parse-param
  [path]
  (-> (str/split path #"\?")
      (last)
      (str/split #"=")))