function proxyToString(name) {
    // Wrap to always call the current version
    return function toString() {
      if (typeof current[name] === 'function') {
        return current[name].toString();
      } else {
        return '<method was deleted>';
      }
    };
  }
/**
   * Creates a proxied toString() method pointing to the current version's toString().
   */
Creates a proxied toString() method pointing to the current version's toString().
Creates a proxied toString () method pointing to the current version ' s toString () .
function proxyToString(name) {
    return function toString() {
      if (typeof current[name] === 'function') {
        return current[name].toString();
      } else {
        return '<method was deleted>';
      }
    };
  }
function proxyToString ( name ) { return function toString ( ) { if ( typeof current [ name ] === 'function' ) { return current [ name ] . toString ( ) ; } else { return '<method was deleted>' ; } } ; }
Creates a proxied toString() method pointing to the current version's toString().
Creates a proxied toString () method pointing to the current version ' s toString () .
// Wrap to always call the current version