0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

fix(webidl): use primordial for SymbolToStringTag (#11275)

This commit is contained in:
Divy Srivastava 2021-07-05 13:56:25 +05:30 committed by GitHub
parent a80e34f92c
commit 6a4769670d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -926,7 +926,7 @@
function mixinPairIterable(name, prototype, dataSymbol, keyKey, valueKey) {
const iteratorPrototype = ObjectCreate(globalIteratorPrototype, {
[Symbol.toStringTag]: { configurable: true, value: `${name} Iterator` },
[SymbolToStringTag]: { configurable: true, value: `${name} Iterator` },
});
define(iteratorPrototype, {
next() {