Our volunteers haven't translated this article into ไทย yet. Join us and help get the job done!
You can also read the article in English (US).

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

ผู้มีส่วนร่วมกับหน้านี้: mdnwebdocs-bot, Llamaless, PyroLagus, mrenty, hbloomer, Andrew_Pfeiffer, klez, kscarfone, panaggio
อัปเดตล่าสุดโดย: mdnwebdocs-bot,