Type annotations; WebGPU; npm package `-`; console-based debugging; name clashes with proposed features

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

A proposal for type syntax in JavaScript
devblogs.microsoft.com@drosenwasser, @giltayar, @romulocintra, @robpalmer2, @typescript
The linked article describes a proposal to allow type annotations in JavaScript code. At runtime, they would be ignored by JavaScript engines. At development time, they would be used by static type checkers to warn programmers about potential issues.

One of several upsides is that TypeScript code can be executed without compiling it first (similarly to specifying types via JSDoc comments). A downside is that JavaScript’s syntax becomes more complicated.

If you are interested in what this feature would mean for JavaScript’s and TypeScript’s ecosystems, you can read Axel’s blog post which collects various peoples’ thoughts on this topic.



WebGPU – all of the cores, none of the canvas
surma.dev@dassurma
WebGPU is an upcoming Web API that gives JavaScript low-level, general-purpose access to GPUs.


Empty npm package - has over 700,000 downloads – here’s why
www.bleepingcomputer.com@Ax_Sharma, @BleepinComputer
A single hyphen is a legal npm package name. The package with this name doesn’t do anything interesting but has still been downloaded over 700,000 times – probably due to typos people make when using npm install on the command line.


Console-based debugging in JavaScript: beyond console.log()
suze.dev@SuzeShardlow
Covers console.table(), console.group() and console.assert().


JavaScript naming conflicts: How existing code can force proposed features to be renamed
2ality.com@2ality
Sometimes the name of a proposed feature (method, global variable, etc.) clashes with existing code and has to be changed. The blog post explains how that can happen and lists features that were renamed.




Looking for deeply qualified employees or customers? Advertise on ES.next News!
ES.next News reaches over 13,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

Older messages

MDN redesign; ShadowRealms; properties of primitives; controling Promise concurrency; detecting malicious npm packages

Tuesday, March 8, 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 A new year, a new MDN

Publishing Deno modules to npm

Tuesday, March 1, 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 Dear readers! To

“State of JS 2021” survey; Yarn 3.2; Deno 1.19; wrapper objects; JS—Node.js vs. browsers

Tuesday, February 22, 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 The results of the “

Node.js 17.5.0; Vite 2.8.0; web APIs in Deno

Tuesday, February 15, 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.js 17.5.0: fetch()

Babel 7.17.0; JSON Schema joins OpenJS Foundation; cost of immutability; retrying via fetch() and AbortSignal;…

Tuesday, February 8, 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.17.0:

You Might Also Like

⚠️ Avoiding AI Scams on Social Media — An Open Source Google Photos Alternative

Sunday, May 5, 2024

Also: Reviewing the Customizable Drop Mechanical Keyboard, and More! How-To Geek Logo May 5, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

Daily Coding Problem: Problem #1432 [Medium]

Sunday, May 5, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Snapchat. Given the head to a singly linked list, where each node also has a “random”

PD#572 Good Ideas in Computer Science

Sunday, May 5, 2024

Ideas every programmer likes and why Garbage Collection and Object Oriented Programming don't count ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

RD#454 API Layer & Fetch Functions

Sunday, May 5, 2024

ixing API and UI code quickly leads to messy and unmaintainable code ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Shiny Toy Syndrome & Tiny macOS utility apps I love

Sunday, May 5, 2024

Lex launching its redesign, Raycast shares another monthly update packed with AI updates, prompts should be designed not engineered, and a lot more in this week's issue of Creativerly. Creativerly

Hyundai antes up $1B for AV startup Motional and Elon unplugs the Tesla Supercharger team

Sunday, May 5, 2024

Plus, layoffs come for Luminar, Fisker and Ola View this email online in your browser By Kirsten Korosec Sunday, May 5, 2024 Image Credits: Motional Welcome back to TechCrunch Mobility — your central

C#504 Adventures serializing absolutely everything in C#

Sunday, May 5, 2024

A fantastic journey porting Newtonsoft.Json to System.Text.Json ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'Which City Has the Most Billionaires in 2024?' 📊

Sunday, May 5, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo May 5, 2024 | View Online | Subscribe | VC+ The Best of This Week's Visuals Presented by Voronoi: The

The dark side of startup accelerators

Sunday, May 5, 2024

Plus: No easy solution to AI hallucinations View this email online in your browser By Anthony Ha Sunday, May 5, 2024 Image Credits: Bryce Durbin This Week, TechCrunch dug into the struggles at two

Android Weekly #621

Sunday, May 5, 2024

View in web browser 621 May 5th, 2024 Articles & Tutorials Sponsored Genius Scan SDK: a document scanner in your app Embed a reliable document scanner with OCR in your app, enabling your customers