BroadcastChannel:
-
is listed in the stable docs
-
is not listed in the unstable docs
-
throws a
ReferenceErrorwithout using--unstable:$ deno repl Deno 1.17.1 exit using ctrl+d or close() > new BroadcastChannel() Uncaught ReferenceError: BroadcastChannel is not defined at <anonymous>:2:1 > close() $ deno repl --unstable Deno 1.17.1 exit using ctrl+d or close() > new BroadcastChannel() Uncaught TypeError: Failed to construct 'BroadcastChannel': 1 argument required, but only 0 present. at Object.requiredArguments (deno:ext/webidl/00_webidl.js:627:13) at new BroadcastChannel (deno:ext/broadcast_channel/01_broadcast_channel.js:81:14) at <anonymous>:2:1 > close()
Is this a bug or just a docs problem? I searched through several pages of release notes and found only this mention in v1.11.0:
- feat(extensions): add BroadcastChannel