Sign in
webkit
/
WebKit
/
1f10227393c9dc21c9d2643241b56515c886ce78
/
.
/
LayoutTests
/
js
/
script-tests
/
arrowfunction-block-2.js
blob: 7535ed3ef8b3e5d143ee6c3cbcc2269e984d7ee4 [
file
] [
log
] [
blame
]
description
(
'Tests for ES6 arrow function declaration body as block'
);
var
af
=
a
=>
{
a
+
1
;
};
shouldBe
(
"typeof af(0)"
,
'"undefined"'
);
var
successfullyParsed
=
true
;