title: How to override a function in another javascript file?
body: <p>I have a JavaScript file, <code>Mybasefile.js</code>, which has the function <code>Mybasefunction()</code>. I want to override this function in another JavaScript file. When the function is called in a button click, I want the original <code>Mybasefunction()</code> to be executed along with some other code. How can I do this?</p>