2018-11-05 07:12:52 +03:00
|
|
|
(a)=>b;
|
|
|
|
(// 1 args
|
|
|
|
(a, // 1 args
|
|
|
|
(a, b)=>// 1 args
|
|
|
|
(a, b) => c;
|
|
|
|
()=>// n args
|
|
|
|
() => b;
|
|
|
|
(// 0 args
|
|
|
|
(a)=>(// 0 args
|
|
|
|
(a) => (b)=>// 0 args
|
|
|
|
(a) => (b) => c;
|
|
|
|
(// func returns func returns func
|
|
|
|
(a)=>((// func returns func returns func
|
|
|
|
(a) => ((b)=>// func returns func returns func
|
|
|
|
(a) => ((b) => c);
|
|
|
|
()=>(// So these parens are dropped
|
|
|
|
() => (b, // So these parens are dropped
|
|
|
|
() => (b,c)=>// So these parens are dropped
|
|
|
|
() => (b,c) => d;
|
|
|
|
(// func returns func returns func
|
|
|
|
a)=>{
|
|
|
|
return // func returns func returns func
|
|
|
|
a=>{return b;
|
2018-10-25 07:17:05 +03:00
|
|
|
};
|
2018-11-05 07:12:52 +03:00
|
|
|
(// func returns func returns func
|
|
|
|
a=>{return b;}
|
|
|
|
a)=>'e';
|