javascript Programming Glossary: private_method
Better way to access private members in Javascript http://stackoverflow.com/questions/1041988/better-way-to-access-private-members-in-javascript this var Some_Class function var private_member 'whatever' private_method function _some_value private method implementation if arguments.callee.prototype.public_method.. arguments.callee.prototype.public_method function private_method.call this private_method function constructor .call this However.. function private_method.call this private_method function constructor .call this However what are the drawbacks..
Current commonly accepted best practices around code organization in JavaScript http://stackoverflow.com/questions/247209/current-commonly-accepted-best-practices-around-code-organization-in-javascript helps me a lot. var DED function var private_var function private_method do stuff here return method_1 function do stuff here method_2..
|