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