Syntax - Tasty Web Development Treats
6 or so New Approved and Proposed JavaScript APIs

6 or so New Approved and Proposed JavaScript APIs

Syntax - Tasty Web Development Treats

53:58

About this episode

In this episode of Syntax, Wes and Scott talk about new approved and proposed JavaScript API changes including Promise.withResolvers, .at(), Immutable Array Methods, Array.fromAsync, and more.
Show Notes 00:10 Welcome
04:55 What are we going to cover?
06:10 Promise.withResolvers
09:40 .at()
You probably knew about JavaScript’s new .at() method for accessing array items. Did you know it works for strings too?

@IAmAndrewLuca

15:59 Immutable Array Methods
Wes Bos: "🔥 Pretty excited about the new JavaScript non-mutating array methods. Currently in stage 3. .toReversed() .toSorted() .toSpliced() - remove items .with() - replace items

21:48 Array.fromAsync
Proposal for array.fromAsync

27:15 Array Grouping
Proposal for Array grouping

31:04 Observable Events?
Observable Events?

35:28 Import Attributes
39:21 v.emplace method
41:15 Decorators
Proposal for Pattern Matching

45:42 SIIIIICK ××× PIIIICKS ×××
××× SIIIIICK ××× PIIIICKS ××× Scott: Artifact.news

Wes: LED lights for bikes
Shameless Plugs Scott: Sentry

Wes: Wes Bos Tutorials

Tweet us your tasty treats Scott’s Instagram

LevelUpTutorials Instagram

Wes’ Instagram

Wes’ Twitter

Wes’ Facebook

Scott’s Twitter

Make sure to include @SyntaxFM in your tweets
Wes Bos on Bluesky

Scott on Bluesky

Syntax on Bluesky

More from Syntax - Tasty Web Development Treats

Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share an entry-level setup for recording video les…

1h 6m

Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus Bombadil’s property-based testing for web UIs. They…

1h 11m

Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of our code. They discuss going zero dependencies, a 5x smaller bundl…

50m

Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and the infrastructure overhaul decoupling storage from compute. P…

31m

Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent again. Plus Anomaly's Hex dictation app, Mitchell…

1h 35m