ES6 added many amazing new features to JavaScript, but by far one of the best features is arrow functions. Arrow functions not only make code much more concise and legible, but it also handles the scope of this in a much more intuitive way.
Arrow Functions Article:
https://blog.webdevsimplified.com/2020-09/arrow-functions
Twitter:
https://twitter.com/DevSimplified
GitHub:
https://github.com/WebDevSimplified
CodePen:
https://codepen.io/WebDevSimplified
#ES6 #ArrowFunctions #ModernJavaScript