Skip to content Skip to sidebar Skip to footer
Showing posts with the label Arrow Functions

Return Value Using Arrow Syntax

So to my understanding which is obviously wrong at this moment in time is that, return arg => ar… Read more Return Value Using Arrow Syntax

I Wonder What This Function Really Does .split(' ').map(x => +x);

I saw this line of code in a correction in a coding game const tC = readline().split(' ').m… Read more I Wonder What This Function Really Does .split(' ').map(x => +x);

How To Use Arrow Functions (public Class Fields) As Class Methods?

I'm new to using ES6 classes with React, previously I've been binding my methods to the cur… Read more How To Use Arrow Functions (public Class Fields) As Class Methods?

Is An Arrow Function More Performant Than A Similar Regular (anonymous) Function?

According to MDN: An arrow function expression is a syntactically compact alternative to a regular… Read more Is An Arrow Function More Performant Than A Similar Regular (anonymous) Function?

Angular2 Subscribe Understand Arrow Function

I try to understand arrow functions of typescript by the example of Angular 2 Observable subscribe … Read more Angular2 Subscribe Understand Arrow Function

Es6 Giving Syntaxerror: Unexpected Token )

Here is my Node.js script: pDownload('http://serv/file', 'localfile') .then( ()=&… Read more Es6 Giving Syntaxerror: Unexpected Token )