המהדר של השפה שלי

הכנסת קוד

תוצאה

התוצאה תופיע כאן
`; // הפיכת ה-HTML לקובץ const blob = new Blob( [page], { type: "text/html" } ); // יצירת כתובת לעמוד החדש const url = URL.createObjectURL(blob); // פתיחת העמוד החדש window.open(url, "_blank"); } catch (error) { const result = document.getElementById("result"); result.innerHTML = '
' + error.message + '
'; } }