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