DEV Community

Discussion on: What WeakSet in JavaScript is and How It Works

zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️ • Edited on

learned something new.

I wish ECMA added a directive similar to 'strict' which you could turn off GC on various functions to allow manual control. 10 years ago this would sound silly, but seeing how these days you basically use js to script c binaries ... anyways just a rambling. Thank you for sharing.