javascript·JavaScriptbynick var, const, let... now ‘using’? - Inside the new dispose lifecycle introduced in a recent Stage 3 TC39 proposalView original on programming.dev20Comments2Reply
AAnus B. Samus feddit.deThis 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!6Reply
2 replies
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!
Thanks for sharing, looks awesome!