Why does console.log() return ‘undefined’?
What is weird with console.log()? You would have noticed while using your browser's console that something strange happens when you console.log() something. You get two return values as shown below. The first value "Chandler" printed is as we expect...
Feb 14, 20235 min read3.1K
