code: function prototypeize(fn, name = fn.name) {
    if (name) { // IE11 does not support name
      defineProperty(prototype, name, {
        get: function() { return fn(this); }
      });
    }
  }
docs: Place a function transformer on the Function prototype. This allows it be used as `fn.swapify(1,2)`.