src/Ify.js
function logify(fn) {
  return function() {
    console.log("entering", fn.name);
    var ret = fn.apply(this, arguments);
    console.log("leaving", fn.name);
    return ret;
  };
}
function logify(fn) {
  return function() {
    console.log("entering", fn.name);
    var ret = fn.apply(this, arguments);
    console.log("leaving", fn.name);
    return ret;
  };
}
function logify ( fn ) { return function ( ) { console . log ( "entering" , fn . name ) ; var ret = fn . apply ( this , arguments ) ; console . log ( "leaving" , fn . name ) ; return ret ; } ; }
Make a version of the function which logs entry and exit.
Make a version of the function which logs entry and exit .