'); code.close() },1000) let view = document.getElementById('viewBrowser'); view.addEventListener('click', ()=> { let frame = document.getElementById('code').contentWindow.document frame = window.open(); frame.document.writeln(html.value + '