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