Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
block-2.js
blob: 66637f53fa1b01d3403fe2a135ac13d55cc0ac6b [
file
] [
log
] [
blame
]
// Block arrow functions don't return the last expression-statement value automatically.
var
f
=
a
=>
{
a
+
1
;
};
assertEq
(
f
(
0
),
undefined
);