Indeed, according to http://www.ecma-international.org/ecma-262/7.0/index.html#sec-functionallocate, generators don't have the [[Construct]] internal method.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss