1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-17 14:18:17 +01:00
* 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:
varshaNalluri 2024-07-30 18:24:50 +05:30 committed by GitHub
parent 6f677dc3be
commit d7276b9834
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)