MDN self-hosted library · e01.org

Solve common JavaScript problems

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

js
function myFunction() {
  alert("This is my function.");
}
js
myFunction();
js
const myNumber = 0;
js
const myObject = {
  name: "Chris",
  age: 38,
};