Source code
Revision control
Copy as Markdown
Other Tools
load(libdir + "asserts.js");
function*g(){ };
o = g();
o.next();
function TestException() {};
assertThrowsInstanceOf(() => o.throw(new TestException()), TestException);
load(libdir + "asserts.js");
function*g(){ };
o = g();
o.next();
function TestException() {};
assertThrowsInstanceOf(() => o.throw(new TestException()), TestException);