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

Es6 Functions, Arrow Functions And 'this' In An Es6 Class

class App extends Component { constructor(props) { ... } onChange = (e) => this.setSt… Read more Es6 Functions, Arrow Functions And 'this' In An Es6 Class

Use Arrow Functions In Jquery Plugin

I am writing a jQuery plugin. But it doesn't seem to work when I use arrow function to extend j… Read more Use Arrow Functions In Jquery Plugin

Es6 Giving Syntaxerror: Unexpected Token )

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

Expected To Return A Value In Arrow; Function Array-callback-return. Why?

I'm having some issues understanding why I'm getting a compile warning on this piece of my … Read more Expected To Return A Value In Arrow; Function Array-callback-return. Why?

Nodejs Arrow Function With Expression

According to the documentation, you can return an expression from an arrow function: (param1, param… Read more Nodejs Arrow Function With Expression

What Are ES6 Arrow Functions, How Do They Work?

I am curious about ES6 arrow functions (fat arrow functions). Are they simply syntactic sugar deriv… Read more What Are ES6 Arrow Functions, How Do They Work?