Home > front end >  New standard on the WHATWG small problems, for help bosses
New standard on the WHATWG small problems, for help bosses

Time:03-31

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:

refer to the second floor my sensitivity to the fairy response:
 
//...
Const url=new url (request url)

Const {host, the pathname, search} url=
excuse me, is which of the replacement I figure a few lines of code

CodePudding user response:

URL
Replace urlModule. Parse method

CodePudding user response: