function capitalize( str ) {
	if ( !isString( str ) ) {
		throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', str ) );
	}
	return base( str );
}
Capitalizes the first character in a string.

@param {string} str - input string
@throws {TypeError} must provide a string
@returns {string} capitalized string

@example
var out = capitalize( 'last man standing' );
// returns 'Last man standing'

@example
var out = capitalize( 'presidential election' );
// returns 'Presidential election'

@example
var out = capitalize( 'javaScript' );
// returns 'JavaScript'

@example
var out = capitalize( 'Hidden Treasures' );
// returns 'Hidden Treasures'