need help understanding JS code [closed]
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . Hi I am new to javascript and I cannot understand the following code: var createAdders = function () { var fns = []; for (var i = 1; i < 4; i++) { fns[i]