Null iterable in for-of?
allen at wirfs-brock.com
Tue Jun 17 14:18:10 PDT 2014
On Jun 17, 2014, at 1:53 PM, Domenic Denicola wrote:
>> It sounds like the the tide is swinging towards bug finding rather than consistency in this case. I'm fine with and and will update the spec. accordingly.
> The conclusion here wasn't exactly clear to me. Is it the following?
> - for-in continues to do zero iterations
> - for-of throws a TypeError
> - comprehensions throw a TypeError
More information about the es-discuss