Sign in
webkit
/
WebKit
/
c8870662c88fb123e54e7c01321ec2f98afe5323
/
.
/
JSTests
/
complex
/
generator-regeneration.js
blob: 0a2e40e0d20c093e2d9b32cffc70bcd607fac040 [
file
] [
log
] [
blame
]
function
*
gen
()
{
var
ok
=
2
;
ok
=
ok
+
(
yield
42
);
yield ok
;
yield ok
;
yield ok
;
}
var
g
=
gen
();
g
.
next
();
$vm
.
enableDebuggerModeWhenIdle
();
fullGC
();
g
.
next
();