DEV Community

Discussion on: What's the output?

Collapse
 
retronav profile image
Pranav Karawale

I think the variable becomes out of scope in the IIFE so maybe it returns undefined. Nice experiment!