Undefined and Null are two dinstinct data types in javascript ...check the difference 👇

2023-01-02 02:03:10
JavaScript undefined Null hashnode

Undefined data types in javascript means the variable has been declared, but has no value. Example 👇

Undefined

Null in javascript, is an object that can be assigned to a variable as a representation of nothing or void. Example 👇

Null

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😊😊...

© 2022 开源博客 京ICP备20030565号-2 Powered by Quick API team