mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
489e77c119
Align the inspect output with the one used in the Chrome dev tools. A recent survey outlined that most users prefer to see the number of set and map entries. This should count as well for array sizes. The size is only added to regular arrays in case the constructor is not the default constructor. Typed arrays always indicate their size. PR-URL: https://github.com/nodejs/node/pull/31027 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> |
||
---|---|---|
.. | ||
comparisons.js | ||
debuglog.js | ||
inspect.js | ||
inspector.js | ||
types.js |