title: How to rename javascript predefined functions
body: <p>Is it possible to rename a predefined function in JavaScript as we do with php :</p>
  
  <pre><code>&lt;?php
  rename_function('mysql_connect', 'connect' );
  ?&gt;
  </code></pre>