It's about to get a lot easier for your JavaScript to clean up after itself

JavaScript is getting a using keyword, the first new way to declare a variable since const and let in 2015. It automatically cleans up resources (file handles, connections, and streams) when they go out of scope, so you don't have to remember to call close() or abort() yourself. It already works in every major browser except Safari.

Read More

Comments

Popular Posts