Closures Javascript Lexical Closures Scope How Does The Js Scope Of These Blocks Work? May 24, 2024 Post a Comment Can anyone explain why the following produces 1,2 and the other produces 5? Should they not both pr… Read more How Does The Js Scope Of These Blocks Work?