Sign in
webkit
/
WebKit
/
9c729ff40e015e9363077353f0fa8371dad5f3ed
/
.
/
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
;