Sign in
webkit
/
WebKit
/
939e9d9dca352ef0e519c767220f928dea5a0c13
/
.
/
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
;