 <p>Just pass in the function you want to be unique. Like this:</p> <pre><code>function reusableFunc(fn) { //reused code block here fn(); //reused code block here } var myResuableFunc1 = function (args) { reusableFunc(function () { //do your business here. }); }; var myResuableFunc2 = function (args) { reusableFunc(function () { //do your business here. }); }; //Or another way function myResuableFunc3(args) { reusableFunc(function () { //do your business here }); } </code></pre> <p>Then, you can create as many functions using the shared code as you want and, through the power of closures, pass these newly created functions around any way that you like.</p>