Why does a function returns undefined when called?
When a function is called, it always returns a value.
Before understanding why a function returns undefined, let's understand what is undefined.
What is undefined?
undefined is a special primitive value of Undefined type in JavaScript. In Undefined t...
patroswastik.hashnode.dev4 min read
Jatin Singh
FrontEnd Developer
Very deeply explained Swastik...keep it up ๐ฅ