JavaScript

What's

New In

2021

What is ECMA Script?

Since publication of the first edition in 1997, ECMAScript has grown to be one of the world's most widely used general-purpose programming languages

Contribute to JS 2021

EXAMPLES

You can find examples
along with my notes on my 
blog or my CodePen.

String
.replaceAll()

Replaces all occurrences of 
a search value with a replacement
value. You can use Regular Expressions
for the search value.

Learn More

String
.replaceAll()

Learn More

Private
methods & props

Many other programming languages already support the public/private paradigm so seeing it roll into a clear definition within the ECMA standard is super nice!

Learn More

Private
methods & props

Learn More

It takes an iterable of Promise objects and returns a single promise that resolves as soon as ANY of the iterable promises resolve, if all promises are rejected returns  AggregateError. 

Promise
.any()

Learn More

Promise
.any()

Learn More

The logical assignment operators append the equals sign '=' to the comparison operator for a quick conditional assignment of your variables. 

Logical
assignment operators 

Learn More

Logical
assignment operators 

Learn More

A new Error type to represent mutiple errors in a group

AggregateError

Learn More

AggregateError

Learn More

An object that holds a weak reference to another object without preventing garbage collection

WeakRef

Learn More

A way to request a callback when an object is garbage collected.

FinalizationRegistry

Learn More

Brought

to you by