FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: fix util.format on checking object prototype 'toString' by himself65 · Pull Request #30502 · nodejs/node · GitHub

/ node Public

lib: fix util.format on checking object prototype 'toString' - #30502

Closed
himself65 wants to merge 1 commit into
nodejs:masterfrom
himself65:30333
Closed

lib: fix util.format on checking object prototype 'toString'#30502
himself65 wants to merge 1 commit into
nodejs:masterfrom
himself65:30333

Conversation

Copy link
Copy Markdown
Member

fix #30333

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

nodejs-github-bot added the util Issues and PRs related to the built-in util module. label Nov 16, 2019
Comment thread lib/internal/util/inspect.js Outdated
Comment thread lib/internal/util/inspect.js Outdated

Copy link
Copy Markdown
Member

Duplicate of #30343. That solution is a bit more in depth, since it will also handle a few more edge cases (not triggering getters).

himself65 closed this Nov 16, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

util.format('%s', o) fails to call String(o) in certain cases

4 participants


Back | FazBrowse Home | New Git URL