DEV Community

Discussion on: How JavaScript engine execute this code?

Collapse
 
uddeshjain profile image
Uddesh • Edited

Yes exactly, each and every variable assigned undefined unless you assign some value to it that's why console.log(a) says undefined.