summaryrefslogtreecommitdiff
path: root/extensions/net/01_net.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/net/01_net.js')
-rw-r--r--extensions/net/01_net.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/net/01_net.js b/extensions/net/01_net.js
index 9703bd321..cc10a1c0a 100644
--- a/extensions/net/01_net.js
+++ b/extensions/net/01_net.js
@@ -6,7 +6,6 @@
const { BadResource } = core;
const {
PromiseResolve,
- Symbol,
SymbolAsyncIterator,
Uint8Array,
TypedArrayPrototypeSubarray,
@@ -187,7 +186,7 @@
core.close(this.rid);
}
- async *[Symbol.asyncIterator]() {
+ async *[SymbolAsyncIterator]() {
while (true) {
try {
yield await this.receive();