UNPKG
test262-parser-tests
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Test cases for ECMAScript parsers
github.com/tc39/test262-parser-tests
tc39/test262-parser-tests
test262-parser-tests
/
pass
/
9681f5d844d7acd0.js
8 lines
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
(a) => b;
// 1 args
(
a, b
) =>
c;
// n args
() =>
b;
// 0 args
(
a
) =>
(
b
) =>
c;
// func returns func returns func
(
a
) =>
(
(
b
) =>
c);
// So these parens are dropped
() =>
(
b,c
) =>
d;
// func returns func returns func
a
=>
{
return
b;} a =>
'e'
;
// Dropping the parens