diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-26 15:53:11 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-04-04 12:48:57 +0200 |
commit | a9bf6652b5353f2098d4c0cd0eb77d17e02e164d (patch) | |
tree | 3c62cdca11156d359979e251883605aeee3b033e /lib/perf_hooks.js | |
parent | adbcda1eef4377c6fd0c88a1df1003e1e100ffbe (diff) | |
download | android-node-v8-a9bf6652b5353f2098d4c0cd0eb77d17e02e164d.tar.gz android-node-v8-a9bf6652b5353f2098d4c0cd0eb77d17e02e164d.tar.bz2 android-node-v8-a9bf6652b5353f2098d4c0cd0eb77d17e02e164d.zip |
util: use minimal object inspection with %s specifier
This improves `util.format()` by returning more meaningful results
when using `%s` as specifier and any object as value. Besides that
`BigInt` will also be represented with an `n` at the end to indicate
that it's of type `BigInt`.
PR-URL: https://github.com/nodejs/node/pull/26927
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'lib/perf_hooks.js')
0 files changed, 0 insertions, 0 deletions