diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2017-08-17 08:33:11 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-09-20 02:24:24 +0300 |
commit | b1c8f15c5f169e021f7c46eb7b219de95fe97603 (patch) | |
tree | d349d69a8fdbb90c7b11a4c576aa6baea222d72a /benchmark/tls/tls-connect.js | |
parent | 4bcb1c3f752ff4d0a4718ea2480e190d9ac1ea2b (diff) |
util: use constructor name
When reaching the depth limit util.inspect always prints [Array]
or [Object] no matter if it is a subclass or not.
This fixes it by showing the actual constructor name instead.
PR-URL: https://github.com/nodejs/node/pull/14886
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'benchmark/tls/tls-connect.js')
0 files changed, 0 insertions, 0 deletions