I feel really dumb asking this question, but I can't find a decent answer. I have an object of functions like so.
var methods = {
init : function(){},
one : function(){},
two : function(){}
};
Let's say in function one I wanted to access function two. I know that I could do methods.two() and access it that way, but is there a a different way to do it, so I'm not referencing it from the outside, because that will get confusing with other parts of my code quickly.
this.two()should work