WASM currently does not have a GC but that's precisely why one is needed. Languages that target WASM need to implement their own GC but there's already a proposal to integrate a GC implementation into WASM[1].
[1]: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...