You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/runtime-apis/websockets.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,10 @@ let websocketPair = new WebSocketPair();
27
27
28
28
The WebSocketPair returned from this constructor is an Object, with two WebSockets at keys `0` and `1`.
29
29
30
-
These WebSockets are commonly referred to as `client` and `server`. The below example combines `Object.values` and ES6 destructuring to retrieve the WebSockets as `client` and `server`:
30
+
These WebSockets are commonly referred to as `client` and `server`. The below example uses ES6 destructuring to retrieve the WebSockets as `client` and `server`:
0 commit comments