• Can let in JS completely replace Iife


    Preface Recently, I wrote an article about syntax of Java’s Iife pattern to explain why we write immediate execution function expressions in the current way. A few readers criticized the article for being out of date, arguing that block level scope variables introduced in ECMA 2015 made Iife obsolete. On the contrary, executing function expressions […]