DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Parsing the URL string using the WHATWG API
const myURL = new URL('https://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash');
Source by nodejs.org #
PREVIOUS
NEXT
Tagged:
#Parsing
#URL
#string
#WHATWG
#API
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit