- Undefined
Undefined data types in javascript means the variable has been declared, but has no value.
Example π
- Null
Null in javascript, is an object that can be assigned to a variable as a representation of nothing or void.
Example π
THE END!
I know most of you understand how the two data types in javascript differ,but this information is only for beginners.
Thanks for Readingππ...
Top comments (0)