Wednesday, January 29, 2020

the fat arrow to a one line function body gunk of TypeScript and later JavaScript is a C# thing too

=> foo + 1;

...in lieu of...

 
 

{ return foo + 1; }

...is legit.

No comments:

Post a Comment