Do ES6 Modules make the case of IIFEs obsolete?
IIFEs are generally used as a design pattern for providing “privacy” to an extent through anonymous closures. Does the emergence of ES6 modules make the usage of IIFEs obsolete?
Or do you still have use cases for IIFEs? If yes, an example to drive your case would be awesome!