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

How To Using Es6 Arrow Function To Realize Immediately-invoked Function Expression (iife))?

How to using ES6 Arrow function to realize IIFEImmediately-Invoked Function Expression? Here is my … Read more How To Using Es6 Arrow Function To Realize Immediately-invoked Function Expression (iife))?

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);

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?

What Is Double Arrow Function?

What is 'let x= something1 => something2 => something3' ? I have this code and I'… Read more What Is Double Arrow Function?