Resolves a reference against a base identifier.
base
reference
urn:
mailto:
The identifier type (URI or IRI)
The absolute base identifier to resolve against
The reference to resolve
The resolved absolute identifier
RangeError If the resolved path contains tree-climbing segments that would go above the root, or if a relative reference cannot be resolved against an opaque base
RFC 3986 § 5 - Reference Resolution
Resolves a reference against a base identifier.
baseandreferenceto produce an absolute identifierurn:,mailto:): Absolute references are returned unchanged; relative references cannot be resolved and throw an error