2 ms·
> There's a browser native URL splitting function available to JS after all. It's the URL object (https://developer.mozilla.org/en-US/docs/Web/API/URL https://
by cesarb 7y ago
> There's a browser native URL splitting function available to JS after all.
It's the URL object (https://developer.mozilla.org/en-US/docs/Web/API/URL https://developer.mozilla.org/en-US/docs/Web/API/URL), isn't it? We tried using it at work... and found out that, as always seems to be the case, it's available everywhere except on Internet Explorer.