1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix: primordials in extensions/net (#11250)

This commit is contained in:
Bartek Iwańczuk 2021-07-03 17:41:49 +02:00 committed by GitHub
parent 51de4e1f7c
commit 425b9a8228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
const {
PromiseResolve,
Symbol,
SymbolAsyncIterator,
Uint8Array,
TypedArrayPrototypeSubarray,
} = window.__bootstrap.primordials;
@ -141,7 +142,7 @@
core.close(this.rid);
}
[Symbol.asyncIterator]() {
[SymbolAsyncIterator]() {
return this;
}
}