In clojure if I want to intern a var in another namespace I can use the intern
(intern 'other-ns 'my-var (fn [x] x))
I want to achieve the same thing in clojurescript, where I define a var/function in one namespace and intern it in another namespace.
I need this because I'm writing code in cljc and I'm interning a var in clojure, and I also need it to be compatible with cljs