node/lib/internal/util
Ruben Bridgewater 2c0a75118c 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>
2019-01-18 08:03:25 +01:00
..
comparisons.js lib: expose all type checks from the internal types module 2018-12-27 22:34:47 +01:00
inspect.js util: fix iterable types with special prototype 2019-01-18 08:03:25 +01:00
inspector.js src: use internalBinding('config').hasInspector in JS land 2019-01-05 01:25:31 +08:00
types.js lib: expose all type checks from the internal types module 2018-12-27 22:34:47 +01:00