I\'ve the following js code, where I\'ve 2 constants, that receives an object. Both objects have function properties. And we can see too that they\'ve repeated code. onAppro