Sign in
webkit
/
WebKit
/
61dd3584f31cb59cef7f6b2ddb5031a9bd4f1c78
/
.
/
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
;