undefined
is a primitive value that is automatically assigned to variables that are declared but not initialized. It represents the absence of a defined value.
let x;
console.log(x); // undefined
Tags: basic, JavaScript, data types
URL: https://www.tiktok.com/@jsmentoring/photo/7450179747931278624