diff options
Diffstat (limited to 'test/built-ins/GeneratorPrototype/next/from-state-executing.js')
-rw-r--r-- | test/built-ins/GeneratorPrototype/next/from-state-executing.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/built-ins/GeneratorPrototype/next/from-state-executing.js b/test/built-ins/GeneratorPrototype/next/from-state-executing.js index 29461cc11..2a05f8c2f 100644 --- a/test/built-ins/GeneratorPrototype/next/from-state-executing.js +++ b/test/built-ins/GeneratorPrototype/next/from-state-executing.js @@ -37,9 +37,11 @@ features: [generators] ---*/ var iter, result; + function* withoutVal() { iter.next(); } + function* withVal() { iter.next(42); } |