javascript foo(x,y) return x+y code example
Example: var x=21; var myFunction = function(){ console.log(x); var x= 20; }; myFunction();
var x=21;
var myFunction = function(){
console.log(x);
var x= 20;
};
myFuntion();
var x=21;
var myFunction = function(){
console.log(x);
var x= 20;
};
myFuntion();