If you have something like that :
var ASK = (function (){
var i = 0, _this = this;
function private(){
console.log(i++)
}
return {
call : function (methodName, args){
eval(methodName + '(' + args + ')' );
}
}
})();
ASK.call('private');
It's possible to call a function inside ASK scope without using eval ? And why when i try use _this[method]() I get that it's not a function ? Does _this shouldn't refer to scope inside ASK = (function(){})?