DEV Community

Discussion on: What's the output?

Collapse
obnoxiousnerd profile image
Pranav Karawale

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