Report abuse

1
2
3
4
5
6
7
8
9
10
> x = function() { print (1);var d = yield y; print(d); };
(function () {print(1);var d = (yield y);print(d);})
> gen = x()
({})
> gen.next()
1
2
> gen.send("abc")
abc
ERROR: Could not evaluate script: exception `[object StopIteration]'