public-methods

JavaScript: Public methods and prototypes

I'm not entirely sure how to implement OOP concepts in JS. I have a class which is entirely declared in its constructor: function AjaxList(settings) { // all these vars are of dubious necessity... could probably just use `settings` directly var _jq_choice_selector = settings['choice_selector']; var _jq_chosen_list = settin...