How you can use ES6 Arrow Functions to make your JavaScript easier to read
Tyler McGinnis

A common pitfall is to use arrow function is inside an event listener or somewhere where the this we might want is not the based on lexical scope environment but from the scope of where it’s called from.

button.onclick = () => {
console.log(this); // not button

so feel free to use the old goodness here.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.