ECMAScript Language Specification
10

The ECMAScript Language Specification is the official, authoritative specification of the JavaScript programming language. ECMAScript 10 language specification was published in June 2019 and followed the ECMAScript 9 language specification.

This ECMAScript version goes beyond the previous version by specifying features like:

  • The methods String.matchAll and Object.fromEntries

  • The methods Array.flat and Array.flatMap

  • The methods String.trimStart and String.trimEnd

  • Dynamic imports async and await import

  • catch without creating unused bindings:

    // old
    try {
      /* ... */
    } catch (err) {
      console.log("Do not need reference to the error")
    }
    
    // now 
    try {
      /* ... */
    } catch {
      console.log("Do not need reference to the error")
    }

We have not (yet) cross-referenced this language specification with our misconceptions. To find misconception by language specification section, pick one of the cross-referenced specifications.

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.