working with global scope
HTML
<script src=" https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var global = 32;
function add(x,y){
return x + y
}
function multiply(x,y){
return x * y
}
console.log(add(global, 30));
console.log(multiply(global,3));