Is there any considerations to determine which is better practice for creating an object with private members?
var object = new function () { var private
If you're using functions as event handlers you can get memory leaks. Have a look at some of the articles