News
A function scope is in a way also a block scope, so let and constwould behave the same way they did in our previous examples. However, function scopes also encapsulate variables declared with var .
That returned function, which we assign to the variable log, can still access the context argument because it was in scope where the function was defined. Fun fact: Referencing context is made ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results