As shown in figure, have been abandoned in the url of the parse how to implement the same in the new standard WHATEVER API function?
CodePudding user response:
//...
Const url=new url (request url)
Const {host, the pathname, search} url=
CodePudding user response: