Why does console.log() return 'undefined'?
While exploring your browser's console during your coding sessions, you might have encountered this situation many times wherein you get an extra output named undefined along with your desired output.
Something like this:
We just wished for Hello Wo...
niharikakesarwani.hashnode.dev3 min read
Pranita Fulsundar
Developer, building useful things for web.
Very well explained!