# 6 or so New Approved and Proposed JavaScript APIs

> Episode of [Syntax - Tasty Web Development Treats](https://podistic.com/podcast/syntax-tasty-web-development-treats.md) · Published August 16, 2023 · Duration 53:58

- **Listen on Podistic:** https://podistic.com/episode/6-or-so-new-approved-and-proposed-javascript-apis
- **Audio:** https://traffic.megaphone.fm/FSI4747043707.mp3?updated=1749229474 (audio/mpeg)

## 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
