docs: function parseDate( str ) {
  	var v = Date.parse( str );
  	if ( isnan( v ) ) {
  		return new TypeError( 'invalid value. Unable to parse string as a date. Value: `' + str + '`.' );
  	}
  	return new Date( v );
  }