summaryrefslogtreecommitdiff
path: root/benchmark/process/next-tick-depth.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2017-08-17 02:33:11 -0300
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-19 20:24:24 -0300
commitb1c8f15c5f169e021f7c46eb7b219de95fe97603 (patch)
treed349d69a8fdbb90c7b11a4c576aa6baea222d72a /benchmark/process/next-tick-depth.js
parent4bcb1c3f752ff4d0a4718ea2480e190d9ac1ea2b (diff)
downloadandroid-node-v8-b1c8f15c5f169e021f7c46eb7b219de95fe97603.tar.gz
android-node-v8-b1c8f15c5f169e021f7c46eb7b219de95fe97603.tar.bz2
android-node-v8-b1c8f15c5f169e021f7c46eb7b219de95fe97603.zip
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/process/next-tick-depth.js')
0 files changed, 0 insertions, 0 deletions