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