Is it bad to use local variable in the code below and if so, why?
var lib = new function () {
var localVariable;
this.publicCall = function (e) {
localVariable = e.variable;
};
var privateCall = function (e) {
localVariable = e.variable;
};
};