August 16th, 2023 × #JavaScript#APIs#WebDev
6 or so New Approved and Proposed JavaScript APIs
Overview of 6 new approved and proposed JavaScript APIs in various stages - ranging from shipped to just proposed. Covers Promise resolvers, immutable arrays, array grouping, observable events, import assertions, Map.emplace(), decorators and pattern matching.
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