Sign in
webkit
/
WebKit
/
63c63479e42d5d7cd9e5c20fa3c0adb62aed122e
/
.
/
JSTests
/
stress
/
function-caller-async-arrow-function-body.js
blob: ea3cad81e267ccec90a1c7864fce099ab653afb7 [
file
] [
log
] [
blame
]
//@ runDefault
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
(
function
thingy
()
{
function
bar
()
{
return
bar
.
caller
;
}
var
foo
=
async
()
=>
{
shouldBe
(
bar
(),
null
);
}
foo
();
})();