Just Curious to know whether there is any hack for it!
Example:
var a, b, c, d, e, f, g; //global Variables
function add(para){
para = 10+10;
};
add(a);
console.log(a); //Prints Undefined
I want to assign 10+10 to the global variable by passing the variable as parameter.