Generator test should specify generators feature.

This commit is contained in:
Pieter van Ginkel 2015-06-05 12:34:39 +02:00
parent 21b739f1dc
commit 44ee5c85ea

View File

@ -6,6 +6,7 @@ description: >
Functions created using GeneratorFunction syntactic form do not Functions created using GeneratorFunction syntactic form do not
have own properties "caller" or "arguments", but inherit them from have own properties "caller" or "arguments", but inherit them from
%FunctionPrototype%. %FunctionPrototype%.
features: [generators]
---*/ ---*/
function* generator() {} function* generator() {}