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

Error: message

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");
// e.message is 'Could not parse input'
throw e;