Skip to main content
canisoon
URL API
97.17
JS API
API to retrieve the various parts that make up a given URL from a given URL string.
Further reading:
Can I use page for: URL API
MDN Web Docs - URL interface
MDN Web Docs - URL constructor
Polyfill for this feature is available in the core-js library