I highly recommend codesmith's practice problems on closures, scope, and higher order function! Their video lecture is amazing, really gets under the hood on what is happening when you declare a function, when exactly you are calling it (call site vs call stack), and how to utilize closure (storing variables in a function definition for later access).
I highly recommend codesmith's practice problems on closures, scope, and higher order function! Their video lecture is amazing, really gets under the hood on what is happening when you declare a function, when exactly you are calling it (call site vs call stack), and how to utilize closure (storing variables in a function definition for later access).
https://csx.codesmith.io/units/functions-execution-context