function alias(name) {
    return function aliasClosure() {
      return this[name].apply(this, arguments);
    };
  }
/**
   * Alias a method while keeping the context correct, to allow for overwriting of target method.
   *
   * @param {String} name The name of the target method.
   * @return {Function} The aliased method
   * @api private
   */
Alias a method while keeping the context correct, to allow for overwriting of target method.
@param {String} name The name of the target method.
@return {Function} The aliased method
@api private
Alias a method while keeping the context correct to allow for overwriting of target method . @param { String } name The name of the target method . @return { Function } The aliased method @api private
function alias(name) {
    return function aliasClosure() {
      return this[name].apply(this, arguments);
    };
  }
function alias ( name ) { return function aliasClosure ( ) { return this [ name ] . apply ( this , arguments ) ; } ; }
Alias a method while keeping the context correct, to allow for overwriting of target method.
Alias a method while keeping the context correct to allow for overwriting of target method .