index.js
function makeFunctionWrapper(original, functionName) {
  //log("wrap fn: " + functionName);
  var f = original[functionName];
  return function() {
    //log("call: " + functionName);
    var result = f.apply(original, arguments);
    return result;
  };
}
function makeFunctionWrapper(original, functionName) {
  //log("wrap fn: " + functionName);
  var f = original[functionName];
  return function() {
    //log("call: " + functionName);
    var result = f.apply(original, arguments);
    return result;
  };
}
function makeFunctionWrapper ( original , functionName ) { //log("wrap fn: " + functionName); var f = original [ functionName ] ; return function ( ) { //log("call: " + functionName); var result = f . apply ( original , arguments ) ; return result ; } ; }
Makes a function that calls a function on another object.
Makes a function that calls a function on another object .