diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2021-07-05 13:54:21 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 10:24:21 +0200 |
commit | a80e34f92c81504471d0cdb17eb64f53f2c54add (patch) | |
tree | ba89adabad07cd66d47a85f7895c5fece8769d32 | |
parent | ffd28e7d6762298efbe63b5c2d40e04b909120b4 (diff) |
fix(webstorage): use primordial for Symbol.for (#11276)
-rw-r--r-- | extensions/webstorage/01_webstorage.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/webstorage/01_webstorage.js b/extensions/webstorage/01_webstorage.js index e55e94280..558522a3c 100644 --- a/extensions/webstorage/01_webstorage.js +++ b/extensions/webstorage/01_webstorage.js @@ -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, |