diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-12 02:15:10 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-01-18 10:03:25 +0300 |
commit | 2c0a75118cd6a2eaf6b45fe8c67336f44c86ab0f (patch) | |
tree | 58b5f79ec97025d0935907794e0219fb29d8d399 /doc/api/console.md | |
parent | 27f9a55cf66390195ad36eae0eb21fb4d07bb500 (diff) |
util: fix iterable types with special prototype
The fallback should only be taken for a null prototype. If an
iterable data type (e.g., Array) has a prototype without
`Symbol.iterator`, just try the best to visualize it as object.
PR-URL: https://github.com/nodejs/node/pull/25457
Fixes: https://github.com/nodejs/node/issues/25451
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/console.md')
0 files changed, 0 insertions, 0 deletions