IIFE Pattern in JavaScript
In JavaScript, functions have their own lexical scope. So variables defined inside it are scoped within that function.
IIFEs are a clever way of using this feature whenever you want a separate environment for your operations (behaviors) for a short m...
akashsdas.hashnode.dev3 min read