function reverseArguments( fcn, thisArg ) {
	if ( !isFunction( fcn ) ) {
		throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ) );
	}
	return reversed;

	/**
	* Invokes a function with arguments in reverse order.
	*
	* @private
	* @param {...*} args - arguments
	* @returns {*} return value
	*/
	function reversed() {
		var args;
		var len;
		var i;

		len = arguments.length;
		args = new Array( len );
		for ( i = 0; i < len; i++ ) {
			args[ len-1-i ] = arguments[ i ];
		}
		return fcn.apply( thisArg, args );
	}
}
Returns a function that invokes a provided function with arguments in reverse order.

@param {Function} fcn - input function
@param {*} [thisArg] - function context
@throws {TypeError} first argument must be a function
@returns {Function} reverse arguments function

@example
function foo( a, b, c ) {
    return [ a, b, c ];
}

var bar = reverseArguments( foo );

var out = bar( 1, 2, 3 );
// returns [ 3, 2, 1 ]