MDN self-hosted library · e01.org
Error: fileName / notebook

Error: fileName

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const e = new Error("Could not parse input");
throw e;
// e.fileName could look like "file:///C:/example.html"