diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2021-06-25 16:19:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-25 16:19:18 +0900 |
commit | d832d2bfd1f0487181f96bdecd7a28968a150fac (patch) | |
tree | b4e40fa8689bf97434470cfce9f303f8ddeacf9a /runtime/js/99_main.js | |
parent | 606611708c4351e9f5e0e3b975f9331d95168efb (diff) |
chore(ext/console): deprecate Deno.customInspect (#10035)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index d0e86bce7..db334caea 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -247,7 +247,7 @@ delete Object.prototype.__proto__; webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${inspect({})}`; } } @@ -270,7 +270,7 @@ delete Object.prototype.__proto__; webidl.illegalConstructor(); } - [Symbol.for("Deno.customInspect")](inspect) { + [Symbol.for("Deno.privateCustomInspect")](inspect) { return `${this.constructor.name} ${inspect({})}`; } } |