Arrow functions were introduced in ECMAScript _________.

  • 5
  • 6
  • 2015
  • 2018
Arrow functions were introduced in ECMAScript 2015 (ES6). ES6 brought many enhancements to JavaScript, and arrow functions were one of the notable additions. They offer a more concise syntax for defining functions and have lexical scoping for this, making them a valuable addition to modern JavaScript.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *