mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
fix(webstorage): use primordial for Symbol.for (#11276)
This commit is contained in:
parent
ffd28e7d67
commit
a80e34f92c
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
const webidl = window.__bootstrap.webidl;
|
||||
const {
|
||||
Symbol,
|
||||
SymbolFor,
|
||||
ObjectDefineProperty,
|
||||
ObjectFromEntries,
|
||||
ObjectEntries,
|
||||
|
@ -157,7 +158,7 @@
|
|||
},
|
||||
});
|
||||
|
||||
proxy[Symbol.for("Deno.customInspect")] = function (inspect) {
|
||||
proxy[SymbolFor("Deno.customInspect")] = function (inspect) {
|
||||
return `${this.constructor.name} ${
|
||||
inspect({
|
||||
length: this.length,
|
||||
|
|
Loading…
Add table
Reference in a new issue