Sign in
webkit
/
WebKit
/
63c63479e42d5d7cd9e5c20fa3c0adb62aed122e
/
.
/
JSTests
/
stress
/
function-caller-async-function-body.js
blob: 8119f4666477ca8b9d189680ef59d299c37654dd [
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
();
})();