Looks like the semantics is that they make their own intermediate scope, so a re-declaration in the block is actually shadowing. See section 13.6.4.8 (Runtime Semantics: ForIn/OfExpressionEvaluation Abstract Operation) step 2. Confirmed with node 0.11.14.
Looks like the semantics is that they make their own intermediate scope, so a re-declaration in the block is actually shadowing. See section 13.6.4.8 (Runtime Semantics: ForIn/OfExpressionEvaluation Abstract Operation) step 2. Confirmed with node 0.11.14.