Posts

Calling another returned function in the same module

Image
up vote 0 down vote favorite I have a module like this: var myMod = function() { return { f_a: function() {} f_b: function() {} } })(); I need to call f_b from f_a , and I do not know what is the best way to do this. javascript module share | improve this question asked Nov 22 at 16:56 Giacomo Masseroni Chiaro 386 3 15 add a comment  |  up vote 0 ...