JSFiddle - React, Tailwind, and code Playground
by dglazkov
JavaScript
showURL(document);
showURL(document.implementation.createHTMLDocument('title'));
function showURL(doc) {
document.body.appendChild(document.createElement('div')).textContent = 'Document URL: ' + doc.URL;
}