## Notes `undefined` is used when a variable is declared, but a value has not been set. ```javascript let myVariable; console.log(myVariable); // undefined ``` `null` is used when a variable is intentionally set to the absence of a value. ```javascript let myVariable; console.log(myVariable); // undefined myVariable = null; console.log(myVariable); // null ``` Basically it describes the programmer's intent. ## References - [[JavaScript Study MOC]]