Take a look at the ES6 unarrow function
Basic Grammar Shorter expressions There is no separate this Before the arrow function appears, each new function defines the this value of this function according to how it was called. If the function is a constructor, this pointer points to…