function removeLast( str, n ) {
	return str.substring( 0, str.length - n );
}
Removes the last `n` UTF-16 code units of a string.

@param {string} str - input string
@param {NonNegativeInteger} n - number of UTF-16 code units to remove
@returns {string} output string

@example
var out = removeLast( 'last man standing', 1 );
// returns 'last man standin'

@example
var out = removeLast( 'presidential election', 1 );
// returns 'presidential electio'

@example
var out = removeLast( 'JavaScript', 1 );
// returns 'JavaScrip'

@example
var out = removeLast( 'Hidden Treasures', 1 );
// returns 'Hidden Treasure'