this post was submitted on 10 Jul 2023
20 points (100.0% liked)

JavaScript

1982 readers
2 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AnusBesamus@feddit.de 6 points 1 year ago

This is a really useful feature! I had a bug a few days ago where I forgot to close a DB connection and wished that something like Go's defer was a thing. Great timing!