Diferencia entre revisiones de «JavaScript ES13»

De Wiki Proyectos Beta
Ir a la navegación Ir a la búsqueda
([feat] Add information about JavaScript ES13)
 
([feat] Add information about JavaScript ES13)
Línea 13: Línea 13:
* Class static block
* Class static block
* Error cause
* Error cause
* Class field declarations
* Array find from last

Revisión del 18:19 30 sep 2022

JavaScript ES13, ECMAScript (ES13 o ES2022).

Nuevos features:

  • Public and private instance fields
  • Private instance methods and accessors
  • Static members
  • RegExp match indices
  • Top-level await
  • Ergonomic brand checks for private fields
  • Negative indexing with .at()
  • hasOwn
  • Class static block
  • Error cause
  • Class field declarations
  • Array find from last