Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
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
);