DEV Community

Discussion on: What is IIFE in JavaScript?

Collapse
 
blindfish3 profile image
Ben Calder

It's probably worth mentioning that IIFE is now largely redundant. If working at a scale where multiple people are working on the same codebase you'd typically be working with modules; which are a more elegant solution to the scoping issues IIFE solved.