new BroadcastChannel(name)


  • name <any> 要连接的通道名称。允许使用任何可以通过 `${name}` 转换为字符串的 JavaScript 值。