mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-11 03:34:00 +02:00
Update undefined@ZLs0NKM0lrnOy5ATDhlk0.md (#6281)
* Update undefined@ZLs0NKM0lrnOy5ATDhlk0.md * Update src/data/roadmaps/javascript/content/undefined@ZLs0NKM0lrnOy5ATDhlk0.md --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
This commit is contained in:
@@ -1 +1,9 @@
|
|||||||
# undefined
|
# undefined
|
||||||
|
|
||||||
|
undefined is a Primitive data type in Javascript.
|
||||||
|
|
||||||
|
Whenever a variable is declared but not initialized or assigned a value, then it is stored as undefined. A function returns undefined if a value was not returned. A method or statement also returns undefined if the variable that is being evaluated does not have an assigned value.
|
||||||
|
|
||||||
|
Visit the following resources to learn more:
|
||||||
|
|
||||||
|
- [@video@undefined in JS](https://www.youtube.com/watch?v=B7iF6G3EyIk&list=PLlasXeu85E9cQ32gLCvAvr9vNaUccPVNP&index=8)
|
||||||
|
Reference in New Issue
Block a user