← All docs

gc_enable()

Enables automatic collection of circular references.

gc_enable()

function gc_enable(): void

Enables automatic collection of circular references.

Parameters: none.

Returns: void

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how gc_enable is implemented in the compiler, see the internals page.