are all java script variables global code example Example: javascript global function window.my_function = function(){ // }