Assigning Vars/Vals

JavaScript ClojureScript
Global Scope
globalVar1=3;
None
Namespace Scope
Manual
(def name-val 3)
Local Scope
function tmp(){
 var x="test";
 var y=function () { return 3;};
 ...
}
(defn tmp []
  (let [x "test"
        y #(do 3)]
    ...))
    
Context Scope
None
				
(binding [*myvar* "test")
  (tmp x y))