varshaNalluri
2024-07-30 13:54:50 +01:00
committed by GitHub
co-authored by dsh
parent 6f677dc3be
commit d7276b9834
@@ -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)