Trying to understand function closure, lexical environement in this example. declared with let variables vs object properties
1054
How do JavaScript closures work?
110201
Difference between var = {} and var = []?
140402
Do inner functions in JavaScript get hoisted? How do the scoping rules apply to them?
1993
Javascript Closures and 'this'
78245
Closures in a for loop
155959
Use of 'this' in closure
1638
var functionName = function() {} vs function functionName() {}
11419
Can you explain closures (as they relate to Python)?
39668
Is there a difference between an "instance variable" and a "property" in Objective-c?
4016
How do optional Parameters in Let/Get Properties work?
82116
Should I be using object literals or constructor functions?
19638
What is the purpose of the var keyword and when should I use it (or omit it)?
19832
(1, eval)('this') vs eval('this') in JavaScript?
131841
Difference of closures and closure of difference
131063
Why do we use zero infinitives with make, let, have?
60987
The passive with "let"
10982
What is the difference between a function expression vs declaration in JavaScript?