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