Pure JavaScript examples of deterministic resource lifetime, ownership, move, borrow, lease, shared ownership, weak references, and RAII-inspired abstractions built on modern JavaScript.
See also: Explicit Resource Management
Examples are in JavaScript/ and use no runtime dependencies.