new URL(location.href) doesn't work in IE

后端 未结 9 1629
心在旅途
心在旅途 2020-12-10 23:52

I am facing to problem with method new URL(\'address\') in IE.

I have this code:

var href =  location.href;
var hrefParams = new URL(href);
var api =         


        
9条回答
提交回复
热议问题