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

Es6 Giving Syntaxerror: Unexpected Token )

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

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

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

Value Of This Inside Object Method?

I very confusing about the value of this at the moment of an invocation function using arrow functi… Read more Value Of This Inside Object Method?

Javascript Ecma6 Change Normal Function To Arrow Function

I have that code: function defineProperty(object, name, callback){ if(object.prototype){ … Read more Javascript Ecma6 Change Normal Function To Arrow Function

Reduce Array To Object Using Arrow Function

I'm playing around with the limits of array and arrow functions and I'm trying to convert t… Read more Reduce Array To Object Using Arrow Function