Deno can detect leaky resources 🚰

preview_player
Показать описание
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Рекомендации по теме
Комментарии
Автор

Why not implement RAII? Or something like python3 using “with open”? That way one will not need to explicitly call a “close” operation. The function goes out of scope and resources automatically closed. 😄

bjo
Автор

If I have to check multiple files can I have an array of them and then will this check them all? Like if in the files there is some leaky source or not

anshumankhanna