IE11 - Object doesn't support this action - URL object - workaround : <p>I'm trying to convert the URL string to a URL object using this command:</p>

<pre><code>var newUrl = new URL("http://www.testsite.com?name=abc&amp;class=123");
</code></pre>

<p>It works for Chrome and Firefox, but not in IE11. Is there a known workaround for this?</p>

<p>Thanks.</p>
