Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

How do I get the value of a var in clojurescript? In clojure I can do (var-get (resolve sym)). But in clojurescript this throws an error saying var-get is undefined. What is the issue here?

1 Answer

0 votes

This question is addressed obliquely on the "Differences from Clojure" page, especially the "Vars and the global environment" section: