Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
JSTests
/
stress
/
function-caller-async-generator-body.js
blob: 871da9f138eb65bd1708a282e9c0f59eb339d6ad [
file
] [
log
] [
blame
]
//@ runDefault
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
(
function
thingy
()
{
function
bar
()
{
return
bar
.
caller
;
}
async
function
*
foo
()
{
shouldBe
(
bar
(),
null
);
}
foo
().
next
();
})();