Chromium Code Reviews
DescriptionThrow a TypeError when calling "next" method of a newly created generator with a value
According to the ECMA262 6th rev20 draft 25.3.3.2-7, when calling "next"
method of a newly created generator with a value `generator.next(value)`
TypeError should be thrown. And when calling "throw" method of newly
created generator, generator's status becomes "completed" and throw a
provided value.
BUG=v8:3099
Patch Set 1 #
Total comments: 2
Patch Set 2 : Revised #
Messages
Total messages: 11 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||