Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
params-1.js
blob: 5c2395c394c58b57d0cd7bc3a58a307d4f974976 [
file
] [
log
] [
blame
]
// arrow functions may have empty arguments
var
f
=
()
=>
'x'
;
assertEq
(
f
.
length
,
0
);
assertEq
(
f
(),
'x'
);
assertEq
(
f
(
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
),
'x'
);