ECMAScript 2022; block statements; void 0

ES.nextNews: the latest in JavaScript and cross-platform tools
Curated by Dr. Axel Rauschmayer and Johannes Weber.

ES.next News

The latest in JavaScript and cross-platform tools

Dear readers!

We are taking a mid-year break and will be back on September 13. Have a great July and August!

Jowe & Axel



Ecma International approves ECMAScript 2022: What’s new?
2ality.com@2ality
New features in ECMAScript 2022:
  • New members of classes:
    • Properties (public slots) can now be created via instance public fields and static public fields.
    • Private slots are new and can be created via:
      • Private fields (instance private fields and static private fields)
      • Private methods and accessors (non-static and static)
    • Static initialization blocks
  • Private slot checks via in
  • Top-level await in modules
  • error.cause
  • Method .at() of indexable values (strings, Arrays, TypedArrays)
  • RegExp match indices
  • Object.hasOwn(obj, propKey)


Secretary General of Ecma International (host of TC39)
www.ecma-international.org Sponsor
The job opportunity of a lifetime: You could be the Secretary General of Ecma, helping run the international standards body which oversees TC39 (home of ECMAScript) and many other Technical Committees. If you can work in Geneva and love standards, please apply!


In defense of blocks for local scopes
gist.github.com@getify
Kyle Simpson argues in favor of using block statements to give a sequence of statements its own scope.


Build internal tools 10x faster with Retool
retool.com Sponsor
Retool is a new approach to building internal apps: we’ve unified the ease of visual programming with the power and flexibility of real code. Drag and drop a form together, and have it POST back to your API in minutes. Deploy instantly with access controls and audit logs.


You don’t need void 0 in JavaScript
p42.ai@lgrammel, @p42ai
In JavaScript code, especially if it’s older, you may have seen void 0 being used as an alternative to undefined. This blog post explains:
  • Why void 0 is an alternative to undefined.
  • Why avoiding undefined made sense before ECMAScript 6.
  • Why that’s not necessary anymore.



Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 14,000 highly skilled and motivated developers. We take their trust seriously and have high editorial standards.
Check out our media data and get directly in touch with us.
Follow on Twitter

This email was sent to you. Want to change how you receive these emails?
You can unsubscribe from this list

Key phrases

Older messages

Prettier 2.7; Deno 1.23; web streams; block statements; statically transform module specifiers

Tuesday, June 21, 2022

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Prettier 2.7: new --

TC39 meeting in June; Rome Tools 0.6.0; aborting asynchronous tasks; querying node_modules

Tuesday, June 14, 2022

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Updates from TC39

Node v18.3.0; logging and error handling; monorepos; Node.js testing; Wasm in JS ecosystem

Tuesday, June 7, 2022

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Node v18.3.0 (current):

Parcel v2.6.0; Lerna 5; processing Arrays non-destructively; managing local dependencies; converting libraries from Node.js to Deno

Tuesday, May 31, 2022

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Parcel v2.6.0 parceljs.

Babel 7.18.0; ESLint v8.16.0; Deno 1.22; JavaScript MIME type; property paths

Tuesday, May 24, 2022

ES.nextNews: the latest in JavaScript and cross-platform tools Curated by Dr. Axel Rauschmayer and Johannes Weber. ES.next News The latest in JavaScript and cross-platform tools Babel 7.18.0:

You Might Also Like

Edge 389: Understanding Large Action Models

Tuesday, April 23, 2024

One of the most important concepts in autonomous agents. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Apple World Cup bid ⚽, Meta opens VR OS 🌎, Anthropic's prompt library 🤖

Tuesday, April 23, 2024

Apple is working to secure an exclusive TV deal with FIFA Sign Up |Advertise|View Online TLDR Together With WorkOS TLDR 2024-04-23 WorkOS is the only auth provider your B2B SaaS app needs to start

New Blogs on ThomasMaurer.ch for 04/23/2024

Tuesday, April 23, 2024

View this email in your browser Thomas Maurer Cloud & Datacenter Update This is the update for blog posts on ThomasMaurer.ch. Cloud operations for Windows Server through Azure Arc By Thomas Maurer

Post-Post 🗨️

Tuesday, April 23, 2024

Assessing the post-Twitter climate amid Post.News' shutdown. Here's a version for your browser. Hunting for the end of the long tail • April 22, 2024 Post-Post The demise of Post, one of the

BetterDev #257 - Building a GPS Receiver

Monday, April 22, 2024

Better Dev #257 Apr 22, 2024 Hi all, We come back with a new issue this week. If you like BetterDev, please help spead word out by refer to your friends. Buy me a coffee would be great too. This week I

Tomorrow's Free Notes Class: How to sign up!

Monday, April 22, 2024

Hi there, Tomorrow we will be hosting a Free Notes App Class. This is your last chance to register for tomorrow's live class and learn how to get the most out of your Notes app. Our experienced

Elon’s ‘balls to the wall’ autonomy push

Monday, April 22, 2024

Plus: Amazon ends California drone deliveries and Rippling's founder has a brand-new bag View this email online in your browser By Christine Hall Monday, April 22, 2024 Image Credits: Toru Hanai/

📱 Your iPhone is Now Discoverable by Others — Tips for Building Your First PC

Monday, April 22, 2024

Also: How to Play Windows Games on Your Mac, and More! How-To Geek Logo April 22, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

JSK Daily for Apr 22, 2024

Monday, April 22, 2024

JSK Daily for Apr 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news It Is so Cool to Develop React Native With Expo 1. What are the benefits of Expo?. "

😺 The social walkie-talkie

Monday, April 22, 2024

Hi, hi! It's Monday and it's Earth Day! Don't miss the Cat Nips section below for innovative products in the... Product Hunt Read in browser This newsletter is brought to you by YOU MIGHT