object nodeUrlMod
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- nodeUrlMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class URL extends URL_ with _PathLike
Browser-compatible
URL
class, implemented by following the WHATWG URL Standard.Browser-compatible
URL
class, implemented by following the WHATWG URL Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself. TheURL
class is also available on the global object.In accordance with browser conventions, all properties of
URL
objects are implemented as getters and setters on the class prototype, rather than as data properties on the object itself. Thus, unlikelegacy urlObject
s, using thedelete
keyword on any properties ofURL
objects (e.g.delete myURL.protocol
,delete myURL.pathname
, etc) has no effect but will still returntrue
.- Annotations
- @JSType() @JSImport("node:url", "URL") @native()
- Since
v7.0.0, v6.13.0