Sign in
webkit
/
WebKit
/
f6a2db0b6ffa1cbc502926e8c3265b2be2346307
/
.
/
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
();