A primitive value automatically assigned to variables that have just been declared or to formal arguments for which there are no actual arguments.



var x; //create a variable but assign it no value

console.log("x's value is", x) //returns x's value is undefined

Learn more

General knowledge

Technical reference

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,