Is there a shorter way to write this:
var controller = function(){ /*--- constructor ---*/ }; controller.prototype.function1 = function(){ //Prototy
Object.assign(controller.prototype, { function1: ... })