this post was submitted on 10 Feb 2024
17 points (90.5% liked)

JavaScript

2579 readers
1 users here now

founded 2 years ago
MODERATORS
 
const { promise, resolve, reject } = Promise.withResolvers();
you are viewing a single comment's thread
view the rest of the comments
[–] victorz@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Pretty darn cool. Thanks for posting this here!