It is so funny that the following for in loop prints out 0 and 1. Anybody helps to explain: 1 what does it mean for variable in a lambda function? 2. why prints out 0 and 1? (I changed the ['a', 'b'] to [1,2], it still prints 0 and 1.
for (var f in d = function(){}, ['a', 'b']){console.log(f)}
prints out
0
1