MDN self-hosted library · e01.org
Undefined / notebook

Undefined

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

js
let x; // create a variable but assign it no value

console.log(`x's value is ${x}`); // logs "x's value is undefined"