Skip to content

Files

Latest commit

 

History

History
150 lines (81 loc) · 4.5 KB

ECMASCRIPT.md

File metadata and controls

150 lines (81 loc) · 4.5 KB

ECMAScript and Node requirements

The goal of the document is to list features we rely on for the runtime and the generated code. Features are grouped by ECMAScript version.

ECMAScript 2015

Arrow function expressions

Classes

const

for...of

let

Map

  • Compatibility
  • Used in runtime for data structures and object tracking

Object.assign

Rest parameters

Set

Spread syntax (in function call)

TypedArray

WeakMap

ECMAScript 2016

async function

await

ECMAScript 2020

BigInt

globalThis

Optional chaining (?.)

ECMAScript 2021

FinalizationRegistry

WeakRef

Web APIs

Canvas API

Crypto API

Document API

Image API

Performance API

XMLHttpRequest

Node.js

Built-in modules with node: prefix

Child process

File system

Process

TTY

Util