default value if var is undifined
Default value if var is undefined
When a variable is declared but not assigned any value, it's default value is undefined. This can happen when you forget to initialize a variable or when a function returns undefined.
It's important to handle undefined values in your code