BroadcastChannel.close - Web documentation
method BroadcastChannel.close
BroadcastChannel.close(): void

Closes the BroadcastChannel object, opening it up to garbage collection.

Return Type

void