What ES2015+ (ES6) features can I use?


#1

The JavaScript VM does support most of ES2015 and beyond. You can use features such as:

  • Template literals
  • Classes
  • Block-scoped variables ( let , const )
  • Object destructuring
  • Default parameters
  • Spread and Rest ( ... )
  • Arrow functions
  • Asynchronous functions ( async / await )
  • Promises